]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/bridge: analogix_dp: only read AUX status when an error occured
authorLucas Stach <l.stach@pengutronix.de>
Wed, 19 Jun 2024 18:21:59 +0000 (20:21 +0200)
committerRobert Foss <rfoss@kernel.org>
Thu, 27 Jun 2024 09:52:18 +0000 (11:52 +0200)
commite857142bbb6491693051f112c833072b9beb5627
treebca91c649eab5408fe5c31c960e93019d9fc1388
parent0fa5e37f874850e4cd09ba45e79ec698f4630da5
drm/bridge: analogix_dp: only read AUX status when an error occured

All AUX error responses raise the AUX_ERR interrupt, so there is no
need to read the AUX status register in normal operation. Only read
the status when an error occurred and we can expect a different
status than OK.

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