mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 20:54:03 +02:00
media: cec/core: drop ABORTED/TIMEOUT check
When claiming a logical address, don't break off the process when the transmit returns ABORTED or TIMEOUT. Just do another attempt in that case. Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
e6dcc43e51
commit
0c138a5d50
|
|
@ -1345,13 +1345,6 @@ static int cec_config_log_addr(struct cec_adapter *adap,
|
|||
if (err)
|
||||
return err;
|
||||
|
||||
/*
|
||||
* The message was aborted or timed out due to a disconnect or
|
||||
* unconfigure, just bail out.
|
||||
*/
|
||||
if (msg.tx_status &
|
||||
(CEC_TX_STATUS_ABORTED | CEC_TX_STATUS_TIMEOUT))
|
||||
return -EINTR;
|
||||
if (msg.tx_status & CEC_TX_STATUS_OK)
|
||||
return 0;
|
||||
if (msg.tx_status & CEC_TX_STATUS_NACK)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user