projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6788562
)
media: adv7604.c: add missing return
author
Hans Verkuil
<
[email protected]
>
Sun, 3 Dec 2017 15:03:11 +0000
(10:03 -0500)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Fri, 8 Dec 2017 15:39:17 +0000
(10:39 -0500)
A 'return' was missing when detecting Arbitration Lost and
calling transmit_done. With the return transmit_done could be
called a second time, confusing the CEC framework. Luckily
the Arbitration Lost condition is very rare.
Signed-off-by: Hans Verkuil <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/i2c/adv7604.c
patch
|
blob
|
history
diff --git
a/drivers/media/i2c/adv7604.c
b/drivers/media/i2c/adv7604.c
index c786cd1254176a3de4b698c4ebd51486bf3d16bb..1544920ec52dc2ed201747e94dc9bd7242322e0f 100644
(file)
--- a/
drivers/media/i2c/adv7604.c
+++ b/
drivers/media/i2c/adv7604.c
@@
-1982,6
+1982,7
@@
static void adv76xx_cec_tx_raw_status(struct v4l2_subdev *sd, u8 tx_raw_status)
__func__);
cec_transmit_done(state->cec_adap, CEC_TX_STATUS_ARB_LOST,
1, 0, 0, 0);
+ return;
}
if (tx_raw_status & 0x04) {
u8 status;