mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
drm/bridge: analogix_dp: fix the disabling process of ASSR function
The DP_EDP_CONFIGURATION_SET should be configured instead of the
DP_LANE_COUNT_SET register to disable ASSR.
Fixes: 3ae279210e ("drm/bridge: analogix_dp: add support for ASSR mode")
Change-Id: I1dc36bd3dbfdeb09cde761c6905e22feba52558a
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
This commit is contained in:
@@ -355,7 +355,7 @@ static int analogix_dp_enable_sink_to_assr_mode(struct analogix_dp_device *dp, b
|
||||
ret = drm_dp_dpcd_writeb(&dp->aux, DP_EDP_CONFIGURATION_SET,
|
||||
data | DP_ALTERNATE_SCRAMBLER_RESET_ENABLE);
|
||||
else
|
||||
ret = drm_dp_dpcd_writeb(&dp->aux, DP_LANE_COUNT_SET,
|
||||
ret = drm_dp_dpcd_writeb(&dp->aux, DP_EDP_CONFIGURATION_SET,
|
||||
data & ~DP_ALTERNATE_SCRAMBLER_RESET_ENABLE);
|
||||
|
||||
return ret < 0 ? ret : 0;
|
||||
|
||||
Reference in New Issue
Block a user