mfd: Fix jz4740_adc_set_enabled
authorAxel Lin <axel.lin@gmail.com>
Thu, 7 Oct 2010 07:51:20 +0000 (15:51 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 28 Oct 2010 22:30:20 +0000 (00:30 +0200)
commitf9c28019d44a97272ef0f382e8d0d1a85dd1cf3e
treedfac42fe428ca6fab6a5ff7dbfd8713150127dde
parentd1f92f05754116fc65cb1165d4942d25df6f200e
mfd: Fix jz4740_adc_set_enabled

When enabled is false, clear BIT(engine) of JZ_REG_ADC_ENABLE register.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/jz4740-adc.c