Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm: xlnx: zynqmp_dp: Fix kernel dump messages when the DP cable is d…
…isconnected Below error message is shown when the DP cable is disconnected. [ 108.780458] zynqmp-display fd4a0000.display: failed to write a byte to the DPCD: -19 This error message will confuse the user because the aux channel is not present after unplugging the cable, so any read / write operation to the DPCD register will fail. So adding a drm_dp_dpcd_readb() before we write to the DPCD register. And if the read fails, skip dpcd_writeb and continue in the function to power down phy and disable the audio to avoid a false alarm message. Signed-off-by: Hsuan-Yu Lin <[email protected]> Reviewed-by: Portia Stephens <[email protected]> Reviewed-by: Vishal Sagar <[email protected]>
- Loading branch information