[media] rtl2832: Fix deadlock on i2c mux select function
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>
diff --git a/drivers/media/dvb-frontends/rtl2832.c b/drivers/media/dvb-frontends/rtl2832.c
index c0366a8..cfc5438 100644
--- a/drivers/media/dvb-frontends/rtl2832.c
+++ b/drivers/media/dvb-frontends/rtl2832.c
@@ -917,7 +917,7 @@
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 @@
else
buf[1] = 0x10; /* close */
- ret = i2c_transfer(adap, msg, 1);
+ ret = __i2c_transfer(adap, msg, 1);
if (ret != 1)
goto err;