[PATCH v3 1/6] iio: adc: meson_saradc: Don't attach managed resource to IIO device object
Martin Blumenstingl
martin.blumenstingl at googlemail.com
Sun Jun 5 14:46:37 PDT 2022
On Fri, Jun 3, 2022 at 12:00 PM Andy Shevchenko
<andriy.shevchenko at linux.intel.com> wrote:
>
> It feels wrong and actually inconsistent to attach managed resources
> to the IIO device object, which is child of the physical device object.
> The rest of the ->probe() calls do that against physical device.
>
> Resolve this by reassigning managed resources to the physical device object.
>
> Fixes: 3adbf3427330 ("iio: adc: add a driver for the SAR ADC found in Amlogic Meson SoCs")
> Suggested-by: Lars-Peter Clausen <lars at metafoo.de>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>
I am also fine if the Fixes tag is being dropped - please keep my
Reviewed-by in that case.
More information about the linux-amlogic
mailing list