diff options
| author | Dmitry Baryshkov <[email protected]> | 2025-03-24 11:51:20 +0000 |
|---|---|---|
| committer | Dmitry Baryshkov <[email protected]> | 2025-03-25 14:20:38 +0000 |
| commit | fcbb93f1e48a150159534a1e6ec19e6fdf9196df (patch) | |
| tree | 868ecce57ad02f36054fdf7cce17cb5cf2eca4dc /drivers/gpu/drm/lima | |
| parent | drm/display: dp: implement new access helpers (diff) | |
| download | kernel-fcbb93f1e48a150159534a1e6ec19e6fdf9196df.tar.gz kernel-fcbb93f1e48a150159534a1e6ec19e6fdf9196df.zip | |
drm/display: dp: change drm_dp_dpcd_read_link_status() return value
drm_dp_dpcd_read_link_status() follows the "return error code or number
of bytes read" protocol, with the code returning less bytes than
requested in case of some errors. However most of the drivers
interpreted that as "return error code in case of any error". Switch
drm_dp_dpcd_read_link_status() to drm_dp_dpcd_read_data() and make it
follow that protocol too.
Acked-by: Jani Nikula <[email protected]>
Reviewed-by: Lyude Paul <[email protected]>
Signed-off-by: Dmitry Baryshkov <[email protected]>
Link: https://lore.kernel.org/r/20250324-drm-rework-dpcd-access-v4-2-e80ff89593df@oss.qualcomm.com
Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima')
0 files changed, 0 insertions, 0 deletions
