Re: [PATCH v5 0/8] iio: adc: at91_adc: fix NULL trigger dereference and convert to devm

From: Jonathan Cameron

Date: Sat Nov 28 2026 - 18:27:09 EST


On Mon, 23 Nov 2026 09:00:53 +0200
Abdelnasser Hussein <abdelnasserhussein11@xxxxxxxxx> wrote:

> This series fixes a NULL pointer dereference during trigger teardown in
> at91_adc and modernizes the driver to use firmware-agnostic property
> APIs and device-managed (devm) resources.
>
> When the "atmel,adc-use-external-triggers" property is omitted from the
> Device Tree, at91_adc_trigger_init() leaves external trigger slots in
> st->trig as NULL. Patch 1 provides a minimal fix in at91_adc for easy
> backporting to stable kernels, while the subsequent patches modernize
> the driver and convert it to devm_* APIs (removing the manual teardown
> code and the st->trig array altogether).

This needs information on what your base is for sashiko to figure out how
to apply it.
https://sashiko.dev/#/patchset/20261123070101.53868-1-abdelnasserhussein11%40gmail.com

Easiest path is use b4 to prepare the series and ask it to generate that stuff
for you.


Jonathan