diff options
author | Jan Leupold <leupold@rsi-elektrotechnik.de> | 2015-06-17 19:21:36 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-06-21 16:06:15 +0300 |
commit | 2ab5f39bc7825808e0fa1e7e5f0b23e174563467 (patch) | |
tree | abbe3a10fcd98e1902c4deffc0aab2ad8fbe7446 /scripts/Kbuild.include | |
parent | adfa969850ae93beca57f7527f0e4dc10cbe1309 (diff) | |
download | linux-2ab5f39bc7825808e0fa1e7e5f0b23e174563467.tar.xz |
iio: adc: at91_adc: allow to use full range of startup time
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>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts/Kbuild.include')
0 files changed, 0 insertions, 0 deletions