diff options
author | Jan Leupold <leupold@rsi-elektrotechnik.de> | 2015-06-17 18:21:36 +0200 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2015-08-04 14:16:40 -0400 |
commit | 3f6aa9f86f11b733f067c68e3fc66bc54522d915 (patch) | |
tree | 2be46c4e1147a6e8de2b151dae97dbd8dab4ac13 /sound | |
parent | b8518de10f23539bbe13bb15203be860cc027923 (diff) |
iio: adc: at91_adc: allow to use full range of startup time
[ Upstream commit 815983e9afcb21552e1b9d77e3755d394cbf5249 ]
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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions