mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
drm/rockchip: dp: extcon sync for audio in .loader_protect helper
Type: Fix Redmine ID: #506052 Associated modifications: gerrit links Test: test method Change-Id: I114679d477f33f0a6d8b13d0f72d9c36c41fc40c Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
This commit is contained in:
@@ -3264,9 +3264,13 @@ static void _dw_dp_loader_protect(struct dw_dp *dp, bool on)
|
||||
break;
|
||||
}
|
||||
|
||||
extcon_set_state_sync(dp->audio->extcon, EXTCON_DISP_DP, true);
|
||||
dw_dp_audio_handle_plugged_change(dp->audio, true);
|
||||
phy_power_on(dp->phy);
|
||||
} else {
|
||||
phy_power_off(dp->phy);
|
||||
extcon_set_state_sync(dp->audio->extcon, EXTCON_DISP_DP, false);
|
||||
dw_dp_audio_handle_plugged_change(dp->audio, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user