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:
0ea872d
)
[media] rtl2832: Fix deadlock on i2c mux select function
author
Luis Alves
<ljalvs@gmail.com>
Wed, 4 Dec 2013 23:21:22 +0000
(20:21 -0300)
committer
Mauro Carvalho Chehab
<m.chehab@samsung.com>
Wed, 5 Mar 2014 18:39:34 +0000
(15:39 -0300)
Signed-off-by: Luis Alves <ljalvs@gmail.com>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/rtl2832.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb-frontends/rtl2832.c
b/drivers/media/dvb-frontends/rtl2832.c
index c0366a8640c76090d3e85e9e4f0bb42a40d4e2cd..cfc54388a15ea6145f96ee7e586de45037f83336 100644
(file)
--- a/
drivers/media/dvb-frontends/rtl2832.c
+++ b/
drivers/media/dvb-frontends/rtl2832.c
@@
-917,7
+917,7
@@
static int rtl2832_select(struct i2c_adapter *adap, void *mux_priv, u32 chan_id)
buf[0] = 0x00;
buf[1] = 0x01;
- ret = i2c_transfer(adap, msg, 1);
+ ret =
__
i2c_transfer(adap, msg, 1);
if (ret != 1)
goto err;
@@
-930,7
+930,7
@@
static int rtl2832_select(struct i2c_adapter *adap, void *mux_priv, u32 chan_id)
else
buf[1] = 0x10; /* close */
- ret = i2c_transfer(adap, msg, 1);
+ ret =
__
i2c_transfer(adap, msg, 1);
if (ret != 1)
goto err;