Re: [PATCH v8 02/14] drm/bridge: it6505: quiesce work items before powering off

From: Luca Ceresoli

Date: Tue Oct 20 2026 - 12:56:11 EST


On Mon, 28 Sep 2026 00:49:45 +0100, Daniel Golle <daniel@xxxxxxxxxxxxxx> wrote:
> it6505_poweroff() asserts the reset line and disables the regulators
> while link_works, hdcp_wait_ksv_list and hdcp_work may still be
> running. The work items and the register accessors only check
> it6505->powered, and the flag is cleared last, so a work item keeps
> driving link training or HDCP authentication into a chip that is
> already off until the flag catches up. Cancel the three work items
> before touching the power rails. None of them takes a runtime PM
> reference or extcon_lock, so the synchronous cancel is safe from
> every context that powers the chip off.
>
> [...]

Reviewed-by: Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx>

--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com