summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPengpeng Hou <pengpeng@iscas.ac.cn>2026-06-25 08:32:40 +0800
committerPatrik Jakobsson <patrik.r.jakobsson@gmail.com>2026-07-22 22:46:27 +0200
commit9b5ce5c496efd20c1c662cedba88465d39ec1f93 (patch)
tree1ef6e8d3f0e1255ac40ee3a1d3957767c048d0ad /scripts
parent7dc3680b7ffe01add3e9299fde8471d2dd53a8ae (diff)
drm/gma500: return errors from Oaktrail HDMI I2C reads
xfer_read() waits for the HDMI I2C transaction to reach I2C_TRANSACTION_DONE, but it ignores both timeout and signal returns from wait_for_completion_interruptible_timeout(). If the interrupt never advances the transaction state, the loop can wait forever. Return -ETIMEDOUT when the completion wait expires, propagate interrupted waits, and make the I2C master_xfer callback return the first transfer error instead of reporting a successful message count. Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn> Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com> Link: https://patch.msgid.link/20260625003240.6923-1-pengpeng@iscas.ac.cn
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions