summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorJan Leupold <leupold@rsi-elektrotechnik.de>2015-06-17 18:21:36 +0200
committerJiri Slaby <jslaby@suse.cz>2015-08-04 16:52:06 +0200
commit7934fe3254792d761bdbb8e10b8e451d1ebc414c (patch)
treeb41b09a9899d269c1affdd7a40112b1247cf4318 /drivers/media
parent01f57f0290a69404414e8c3c5a1072a5a0287022 (diff)
downloadlwn-7934fe3254792d761bdbb8e10b8e451d1ebc414c.tar.gz
lwn-7934fe3254792d761bdbb8e10b8e451d1ebc414c.zip
iio: adc: at91_adc: allow to use full range of startup time
commit 2ab5f39bc7825808e0fa1e7e5f0b23e174563467 upstream. The DT-Property "atmel,adc-startup-time" is stored in an u8 for a microsecond value. When trying to increase the value of STARTUP in Register AT91_ADC_MR some higher values can't be reached. Change the type in function parameter and private structure field from u8 to u32. Signed-off-by: Jan Leupold <leupold@rsi-elektrotechnik.de> [nicolas.ferre@atmel.com: change commit message, increase u16 to u32 for startup time] Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Jiri Slaby <jslaby@suse.cz> [-js: only change at91_adc_state for 3.12]
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions