Re: [PATCH] Input: goodix_berlin - reject devices without match data

From: Dmitry Torokhov

Date: Fri Sep 25 2026 - 21:05:33 EST


Hi Jiale,

On Fri, Sep 25, 2026 at 09:36:38PM +0800, Jiale Yao wrote:
> A device bound through driver_override need not match an entry in the
> driver tables. In that case spi_get_device_match_data() returns NULL,
> but goodix_berlin_spi_probe() dereferences the result while calculating
> the regmap transfer limits.

We are not planning to address issues caused by incompatible writes to
driver_override. This is a privileged operation.

Thanks.

--
Dmitry