diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-06-24 22:40:15 +0800 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-06-29 16:10:36 +0200 |
| commit | 3bc2e4a26465386332ee1a40219d8dafba335b0b (patch) | |
| tree | 2230d17aa3a3bb691f549742fc6b9187d7d2092f /include | |
| parent | 0fbd5c2327020858c45b2d1c65775d64cdeca523 (diff) | |
| download | linux-3bc2e4a26465386332ee1a40219d8dafba335b0b.tar.gz linux-3bc2e4a26465386332ee1a40219d8dafba335b0b.zip | |
media: cec: stm32: return an error when log-address wait times out
stm32_cec_adap_log_addr() waits for TXSOM to clear before disabling CEC
and updating the logical address registers. The wait result is ignored,
so a timeout can still be reported as a successful logical address
update.
Return the polling error before touching the address registers. Compute
the address mask only for valid logical addresses so the invalid-address
path does not evaluate a shift based on CEC_LOG_ADDR_INVALID.
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
