iio:adc:at91-sama5d2: cleanup mode register use
authorLudovic Desroches <ludovic.desroches@atmel.com>
Tue, 22 Mar 2016 16:08:45 +0000 (17:08 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 3 Apr 2016 10:13:58 +0000 (11:13 +0100)
commit94b24230196da3cd6bd58235137f9a7438983c73
tree1b6926aa70d2d1e7a258afe975599c034b9161d0
parent22d199a53910e2b1666bf873f10779a66844c126
iio:adc:at91-sama5d2: cleanup mode register use

Do not erase previous configuration of the mode register when setting
the sampling frequency.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/at91-sama5d2_adc.c