diff options
author | Caesar Wang <wxt@rock-chips.com> | 2016-07-27 22:24:04 +0800 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-08-23 19:05:03 +0100 |
commit | 543852af8e5902aee8f7c72c89e1513663e0f696 (patch) | |
tree | a0dec27218598952eb683f3461331d4f8e8e623c | |
parent | 7ac61a062f3147dc23e3f12b9dfe7c4dd35f9cb8 (diff) |
iio: adc: rockchip_saradc: reset saradc controller before programming it
SARADC controller needs to be reset before programming it, otherwise
it will not function properly.
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: linux-iio@vger.kernel.org
Cc: linux-rockchip@lists.infradead.org
Tested-by: Guenter Roeck <linux@roeck-us.net>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>