Re: [PATCH v2] drm/mediatek/dp: fix mtk_dp_aux_transfer return value

2024-04-17 Thread 胡俊光

Re: [PATCH v2] drm/mediatek/dp: fix mtk_dp_aux_transfer return value

2024-04-17 Thread AngeloGioacchino Del Regno
Il 17/04/24 12:38, Wojciech Macek ha scritto: In case there is no DP device attached to the port the transfer function should return IO error, similar to what other drivers do. In case EAGAIN is returned then any read from /dev/drm_dp_aux device ends up in an infinite loop as the upper layers

[PATCH v2] drm/mediatek/dp: fix mtk_dp_aux_transfer return value

2024-04-17 Thread Wojciech Macek
In case there is no DP device attached to the port the transfer function should return IO error, similar to what other drivers do. In case EAGAIN is returned then any read from /dev/drm_dp_aux device ends up in an infinite loop as the upper layers constantly repeats the transfer request. Fixes: