staging: ti-soc-thermal: Modify update_interval r/w functions to incorporate the...
authorJ Keerthy <j-keerthy@ti.com>
Mon, 1 Apr 2013 16:04:42 +0000 (12:04 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 1 Apr 2013 19:27:30 +0000 (12:27 -0700)
commit58bccd073b818aa286b361c161146f393d378d83
treec3518da390268c928e3c6d7fd106a52bdcd4436c
parent16b39738f9ae2acc50dc82d5259be37d575eb3c2
staging: ti-soc-thermal: Modify update_interval r/w functions to incorporate the OMAP5 feature of COUNTER_DELAY.

Update ti_bandgap_write_update_interval and ti_bandgap_read_update_interval
functions to incorporate the OMAP5 feature of COUNTER_DELAY. The way we
program the delay between two successive temperature conversions
is different for OMAP5 as when compared with OMAP4. Incorporating
the changes required to program the delay for OMAP5.

Signed-off-by: J Keerthy <j-keerthy@ti.com>
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ti-soc-thermal/ti-bandgap.c