MFD: ti_tscadc: ADC Clock check not required
authorPatil, Rachna <rachna@ti.com>
Sat, 20 Jul 2013 16:27:35 +0000 (17:27 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 31 Jul 2013 00:04:34 +0000 (02:04 +0200)
commitefe3126afce32e3100af3029a80701d47e1b6999
tree7c3d2528a2bdb158fd6720637239c7c7716702cf
parentebe38f80b290fe6d86404d0b21eae479d4aeb21f
MFD: ti_tscadc: ADC Clock check not required

ADC is ideally expected to work at a frequency of 3MHz.
The present code had a check, which returned error if the frequency
went below the threshold  value. But since AM335x supports various
working frequencies, this check is not required.
Now the code just uses the internal ADC clock divider to set the ADC
frequency w.r.t the sys clock.

Signed-off-by: Patil, Rachna <rachna@ti.com>
Signed-off-by: Zubair Lutfullah <zubair.lutfullah@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/ti_am335x_tscadc.c
include/linux/mfd/ti_am335x_tscadc.h
This page took 0.025643 seconds and 5 git commands to generate.