]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
iio: adc: meson-saradc: Meson8 and Meson8b do not have REG11 and REG13
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Tue, 31 Oct 2017 20:01:45 +0000 (21:01 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 2 Dec 2017 11:15:14 +0000 (11:15 +0000)
commit96748823c483c6eed8321f78bd128dd33f09c55c
tree184a07be2cc14bfb3a7a7f2ae572196be56bd8ce
parentd85eed9f576369bc90322659de96b7dbea1f9a57
iio: adc: meson-saradc: Meson8 and Meson8b do not have REG11 and REG13

The Meson GXBB and newer SoCs have a few more registers than the older
Meson8 and Meson8b SoCs.
Use a separate regmap config to limit the older SoCs to the DELTA_10
register.

Fixes: 6c76ed31cd05 ("iio: adc: meson-saradc: add Meson8b SoC compatibility")
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/meson_saradc.c