diff options
author | Wojciech Macek <[email protected]> | 2024-04-17 10:38:19 +0000 |
---|---|---|
committer | Chun-Kuang Hu <[email protected]> | 2024-04-22 13:29:07 +0000 |
commit | 8431fff9e0f3fc1c5844cf99a73b49b63ceed481 (patch) | |
tree | 7e28db57e070db87bd55f414b2dded7abbd3bcb5 /tools/perf/scripts | |
parent | 499eb5197d86f54a68ced91725cd7efa1e397c01 (diff) |
drm/mediatek: dp: Fix mtk_dp_aux_transfer return value
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: f70ac097a2cf ("drm/mediatek: Add MT8195 Embedded DisplayPort driver")
Signed-off-by: Wojciech Macek <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Reviewed-by: CK Hu <[email protected]>
Link: https://patchwork.kernel.org/project/dri-devel/patch/[email protected]/
Signed-off-by: Chun-Kuang Hu <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions