From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 46F8F42FCA1 for ; Wed, 12 Aug 2026 14:12:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786543924; cv=none; b=eTlgreqNH+NMq3u4psZdlUJP2/C1i544RqjDu0VPZH2f+FAI6HxHJj+gt4/kUqgOagxfJDQeK0Om+ZtbEcKg8xSWftdzcrf8zVWbPGvV+eL0ff/plVoq77uQeR+mqwPabiIPiNgIHJ76SPjfQUdziRTKbnQzdBnLdXVYAGFW9es= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786543924; c=relaxed/simple; bh=o+PfWcDTYkn6WqJ0EtJB2GGLf+4YD5vH3bwEZzzQjn0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ntzvmxQ94hdGooVcqBh5j8aZ6Fba99v+hK13iMNY69W9dlFvdHcqIVxneVC9dCL4MaGXztqyZrXTvt1oa0uS1hMtI/j2FT56cGTSIkhTQQVagZ1m9eL7MP5jqJPFzNeTMkdHOIfs/DJwi0ZDiDZmr2kUVy3CSI2oTR55Mu0WKMg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bhP3XliD; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bhP3XliD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C68931F000E9; Wed, 12 Aug 2026 14:12:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1786543922; bh=yYnXvYhhf7b5xbUWwE9T2eh0nKOdkbnhxJDvX0wctBM=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=bhP3XliDF7xwdkuJMy0cUM2MpcJZQyH2ddJUa/jz9lGffbaS0dTfwJ1S2bTMNjfg6 uKwKKydfL8oKqtlRNGqHEdxYKbI/wwfSyCa2Xowy4GwmVGaOc/jB3OJGdb3+eYNnh0 1WsGAbRWfk9ucE+Gxe+tC2JsGi2nsYj0awLwgfpqzAbVh/OpO55hGkcLxpoUdYpmH9 54DDP+u4UiVBr6bqjGxiopqXKD1YEFk0xPOvxRnO20MuQTqrbhuPgehb+JQK30F96x 6hXwibZbJBcdKH6L3KKnjBpW1zOOOlWenY5ixmhM94wkiQXfFLiL3r/s0kbobWCrwk YKU04IElk+57Q== Received: from johan by xi.lan with local (Exim 4.99.4) (envelope-from ) id 1wu9gW-00000000EDD-228D; Wed, 12 Aug 2026 16:12:00 +0200 Date: Wed, 12 Aug 2026 16:12:00 +0200 From: Johan Hovold To: Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann Cc: David Airlie , Simona Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/panel-simple: take i2c adapter module reference Message-ID: References: <20260716132334.1565183-1-johan@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260716132334.1565183-1-johan@kernel.org> On Thu, Jul 16, 2026 at 03:23:34PM +0200, Johan Hovold wrote: > The i2c subsystem currently blocks during adapter deregistration > whenever there are consumers holding a reference. > > Switch to using of_get_i2c_adapter_by_node() which also takes a > reference to the adapter module so that an attempt to unload the module > while in use fails gracefully instead of blocking uninterruptibly. > > Signed-off-by: Johan Hovold Can this one be picked up for 7.3-rc1? Johan