linux-stable/drivers/iio
George Stark 11394a9eb1 meson saradc: fix clock divider mask length
commit c57fa00370 upstream.

According to the datasheets of supported meson SoCs length of ADC_CLK_DIV
field is 6-bit. Although all supported SoCs have the register
with that field documented later SoCs use external clock rather than
ADC internal clock so this patch affects only meson8 family (S8* SoCs).

Fixes: 3adbf34273 ("iio: adc: add a driver for the SAR ADC found in Amlogic Meson SoCs")
Signed-off-by: George Stark <GNStark@sberdevices.ru>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/20230606165357.42417-1-gnstark@sberdevices.ru
Cc: <stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-07-23 13:54:07 +02:00
..
accel iio: accel: fxls8962af: fixup buffer scan element type 2023-07-19 16:35:06 +02:00
adc meson saradc: fix clock divider mask length 2023-07-23 13:54:07 +02:00
addac iio: addac: ad74413: don't set DIN_SINK for functions other than digital input 2023-07-19 16:35:05 +02:00
afe
amplifiers iio: amplifier: hmc425a: simplify using devm_regulator_get_enable() 2022-11-23 19:44:01 +00:00
buffer iio: Don't silently expect attribute types 2022-11-23 19:44:04 +00:00
cdc drivers: iio: cdc: Drop redundant if check 2023-01-08 12:59:44 +00:00
chemical iio: chemical: sps030: Reformat comment in a more readable way 2023-03-11 12:18:27 +00:00
common iio: Rename iio_trigger_poll_chained and add kernel-doc 2023-03-11 12:18:29 +00:00
dac iio: dac: mcp4725: Fix i2c_master_send() return value handling 2023-05-13 19:46:59 +01:00
dummy
filter iio: filter: admv8818: close potential out-of-bounds read in __admv8818_read_[h|l]pf_freq() 2022-11-23 19:43:57 +00:00
frequency iio: frequency: admv1013: Benefit from devm_clk_get_enabled() to simplify 2023-03-18 16:35:26 +00:00
gyro iio: Rename iio_trigger_poll_chained and add kernel-doc 2023-03-11 12:18:29 +00:00
health 4th set of IIO fixes for 6.1 2022-11-27 15:05:05 +01:00
humidity iio: Rename iio_trigger_poll_chained and add kernel-doc 2023-03-11 12:18:29 +00:00
imu iio: imu: inv_icm42600: fix timestamp reset 2023-05-20 17:33:14 +01:00
light iio: bu27034: Ensure reset is written 2023-05-13 19:22:01 +01:00
magnetometer iio: tmag5273: Fix runtime PM leak on measurement error 2023-05-13 17:54:56 +01:00
multiplexer iio: multiplexer: Switch to use dev_err_probe() helper 2022-11-23 19:43:57 +00:00
orientation
position
potentiometer iio: potentiometer: tpl0102: Convert to i2c's .probe_new() 2022-11-23 20:20:30 +00:00
potentiostat iio: Rename iio_trigger_poll_chained and add kernel-doc 2023-03-11 12:18:29 +00:00
pressure iio: Rename iio_trigger_poll_chained and add kernel-doc 2023-03-11 12:18:29 +00:00
proximity iio: proximity: sx9500: Reference ACPI and OF ID data 2023-03-12 16:18:41 +00:00
resolver
temperature iio: temperature: tmp117: cosmetic alignment cleanup 2023-03-11 12:18:29 +00:00
test iio: test: Mark file local structure arrays static. 2022-08-15 22:30:01 +01:00
trigger iio: Rename iio_trigger_poll_chained and add kernel-doc 2023-03-11 12:18:29 +00:00
iio_core.h
iio_core_trigger.h
industrialio-buffer.c iio: buffer: make sure O_NONBLOCK is respected 2023-02-18 14:07:58 +00:00
industrialio-configfs.c
industrialio-core.c iio: core: Sort headers 2023-01-21 17:35:23 +00:00
industrialio-event.c 4th set of IIO fixes for 6.1 2022-11-27 15:05:05 +01:00
industrialio-gts-helper.c iio: gts-helpers: fix integration time units 2023-05-13 17:54:57 +01:00
industrialio-sw-device.c
industrialio-sw-trigger.c iio: core: Fix entry not deleted when iio_register_sw_trigger_type() fails 2022-11-12 17:53:35 +00:00
industrialio-trigger.c iio: Rename iio_trigger_poll_chained and add kernel-doc 2023-03-11 12:18:29 +00:00
industrialio-triggered-event.c
inkern.c iio: inkern: fix coding style warnings 2022-08-15 22:30:00 +01:00
Kconfig iio: light: Add gain-time-scale helpers 2023-04-10 12:26:34 +01:00
Makefile iio: light: Add gain-time-scale helpers 2023-04-10 12:26:34 +01:00
TODO iio: core: move 'mlock' to 'struct iio_dev_opaque' 2022-11-23 19:44:00 +00:00