]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/bridge: analogix_dp: handle clock via runtime PM
authorLucas Stach <l.stach@pengutronix.de>
Wed, 19 Jun 2024 18:21:50 +0000 (20:21 +0200)
committerRobert Foss <rfoss@kernel.org>
Thu, 27 Jun 2024 09:52:02 +0000 (11:52 +0200)
commitf37952339cc234ede318722f85729471f8a87c85
treeb64f30b6efc2a6a37da7cce90fd2c221e6fa7747
parent2d192f4a3acc1c6fe47456e13327701e62074c95
drm/bridge: analogix_dp: handle clock via runtime PM

There is no reason to enable the controller clock in driver probe, as
there is no HW initialization done in this function. Instead rely on
either runtime PM to handle the controller clock or statically enable
it in the driver bind routine, after which real hardware access is
required to work.

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-4-l.stach@pengutronix.de
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c