iio: at91: ADC start-up time calculation changed since at91sam9x5
authorJosh Wu <josh.wu@atmel.com>
Tue, 8 Oct 2013 03:48:00 +0000 (04:48 +0100)
committerJonathan Cameron <jic23@kernel.org>
Wed, 9 Oct 2013 20:15:32 +0000 (21:15 +0100)
commitc46016665fff1dcf08d6046cee45c98781996567
treedf8aa9fcf9b8e7c274d39f6de70bfd7b0769a5bc
parentedf7abde26cd2625fe17a1a1f6a35aa758f72cd0
iio: at91: ADC start-up time calculation changed since at91sam9x5

Since in at91sam9x5, sama5d3x chip. the start up time calucation is changed.
This patch can choose different start up time calculation formula for different
chips.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/at91_adc.c