summaryrefslogtreecommitdiffstats
path: root/arch/m68k
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2017-10-31 21:01:44 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-12-02 11:15:14 +0000
commitd85eed9f576369bc90322659de96b7dbea1f9a57 (patch)
tree2dc3a2851c152dac68e9648207085ff11a311d69 /arch/m68k
parent7a6b0420d2fe4ce59437bd318826fe468f0d71ae (diff)
downloadop-kernel-dev-d85eed9f576369bc90322659de96b7dbea1f9a57.zip
op-kernel-dev-d85eed9f576369bc90322659de96b7dbea1f9a57.tar.gz
iio: adc: meson-saradc: initialize the bandgap correctly on older SoCs
Meson8 and Meson8b do not have the MESON_SAR_ADC_REG11 register. The bandgap setting for these SoCs is configured in the MESON_SAR_ADC_DELTA_10 register instead. Make the driver aware of this difference and use the correct bandgap register depending on the SoC. This has worked fine on Meson8 and Meson8b because the bootloader is already initializing the bandgap setting. 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>
Diffstat (limited to 'arch/m68k')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud