summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2026-09-16 11:29:36 +0300
committerJani Nikula <jani.nikula@intel.com>2026-09-22 16:37:37 +0300
commit551dae8362eb18ef9233cef3ccc840502fb6e92c (patch)
treee8693252d75b8d0f339d3ff5be37ca61a7e76b47 /tools/lib/python
parentd613fc2cbe609fa55e1c14218f543ae82595c076 (diff)
drm/i915/lspcon: switch to drm_dp_dpcd_{read_byte, read_data, write_byte, write_data}()
Switch to the modern DPCD access functions that return negative error codes on errors, -EIO for incomplete access, and 0 on success. Use local ret variables for the return value instead of checking inline. Use %pe and ERR_PTR() for logging the errors. Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com> Link: https://patch.msgid.link/f16cb57607634d411a42ca6cd80b10a713d7677f.1789547331.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions