[PATCH v8 03/14] drm/bridge: it6505: balance and disable runtime PM on remove
Luca Ceresoli
luca.ceresoli at bootlin.com
Tue Oct 20 09:51:39 PDT 2026
On Mon, 28 Sep 2026 00:49:56 +0100, Daniel Golle <daniel at makrotopia.org> wrote:
> Runtime PM is enabled in probe but never disabled on remove, so
> rebinding the driver warns "Unbalanced pm_runtime_enable!". The
> extcon work also holds a usage reference while a display is
> connected, which unbinding leaks; the count survives in struct
> device, so after a rebind the device never runtime-suspends again.
>
> Drop the usage reference held for a connected display and disable
> runtime PM in remove().
>
> [...]
Reviewed-by: Luca Ceresoli <luca.ceresoli at bootlin.com>
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the Linux-mediatek
mailing list