summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLouis-Alexis Eyraud <louisalexis.eyraud@collabora.com>2025-12-05 17:22:26 +0300
committerChun-Kuang Hu <chunkuang.hu@kernel.org>2025-12-30 18:54:09 +0300
commit2788c969d89afb1e6ff66b8530584a634d1327dd (patch)
treeb59967ba294281bc341e538ce89e96fa9053848a /scripts
parent4e7fd55411faf6c1abfa2ddd1504713b2006d166 (diff)
downloadlinux-2788c969d89afb1e6ff66b8530584a634d1327dd.tar.xz
drm/mediatek: mtk_hdmi_ddc_v2: Add transfer abort on timeout cases
During a read or write transfer, the mtk_hdmi_ddc_v2 driver polls the DDC_I2C_IN_PROG bit of HPD_DDC_STATUS register to check if the transfer completes but do no particular action if a timeout is reached. It could lead the next transfer attempts to fail because the faulty transfer was not aborted. So, add in both low level read and write functions a abort action by writing the DDC_CTRL register with the ABORT_XFER command value. Fixes: 8d0f79886273 ("drm/mediatek: Introduce HDMI/DDC v2 for MT8195/MT8188") Signed-off-by: Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com> Link: https://patchwork.kernel.org/project/dri-devel/patch/20251205-mtk-hdmi-ddc-v2-fixes-v1-1-260dd0d320f4@collabora.com/ Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions