On Fri, Jul 17, 2026 at 04:51:52PM +0200, Johan Hovold wrote: > On Fri, Jul 17, 2026 at 03:20:35PM +0300, Laurent Pinchart wrote: > > On Fri, Jul 17, 2026 at 10:57:16AM +0200, Johan Hovold wrote: > > > Make sure to drop the i2c adapter device and module references on failed > > > regulator and enable gpio lookup (and regulator enable) during probe > > > (e.g. on probe deferral). > > > > > > Note that of_get_i2c_adapter_by_node() does not return error pointers, > > > but i2c_put_adapter() can handle a NULL argument so the error pointer > > > check at remove works even if it is misleading. > > > > I've already sent a fix for this, see > > > > https://lore.kernel.org/dri-devel/[email protected]/ > > Ah, ok. If that series is blocked perhaps you can send the fix > separately.
Done. https://lore.kernel.org/dri-devel/20260717184836.2017386-1-laurent.pinchart+rene...@ideasonboard.com -- Regards, Laurent Pinchart
