/* Disable the ADC converter and release the ADC semaphore.  */
void ucb1x00_adc_disable(struct ucb1x00 *ucb)
/* Disable the ADC converter and release the ADC semaphore.  */
void ucb1x00_adc_disable(struct ucb1x00 *ucb)
{
	ucb->adc_cr &= ~UCB_ADC_ENA;
	ucb1x00_reg_write(ucb, UCB_ADC_CR, ucb->adc_cr);
	ucb1x00_disable(ucb);
	up(&ucb->adc_sem);
}