]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/bridge: analogix_dp: register AUX bus after enabling runtime PM
authorLucas Stach <l.stach@pengutronix.de>
Wed, 19 Jun 2024 18:21:49 +0000 (20:21 +0200)
committerRobert Foss <rfoss@kernel.org>
Thu, 27 Jun 2024 09:52:00 +0000 (11:52 +0200)
commit2d192f4a3acc1c6fe47456e13327701e62074c95
treef7e7381c82fa058f78543921633fe7dc1a13ade8
parentc91b5bd7b1f40c46f3aaba460169457db1a78e5e
drm/bridge: analogix_dp: register AUX bus after enabling runtime PM

AUX transactions require the controller to be in working state and
take a runtime PM reference. To avoid potential races beween the
first transactions on the bus and runtime PM being set up, move the
AUX registration behind the runtime PM setup.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Robert Foss <rfoss@kernel.org>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240619182200.3752465-3-l.stach@pengutronix.de
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c