From: Jan Leupold Date: Wed, 17 Jun 2015 16:21:36 +0000 (+0200) Subject: iio: adc: at91_adc: allow to use full range of startup time X-Git-Tag: omap-for-v4.3/fixes-merge-window~229^2~3^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ab5f39bc7825808e0fa1e7e5f0b23e174563467;p=pandora-kernel.git 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 [nicolas.ferre@atmel.com: change commit message, increase u16 to u32 for startup time] Signed-off-by: Nicolas Ferre Acked-by: Alexandre Belloni Cc: Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed