aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb/cxusb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/dvb-usb/cxusb.c')
-rw-r--r--drivers/media/dvb/dvb-usb/cxusb.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/media/dvb/dvb-usb/cxusb.c b/drivers/media/dvb/dvb-usb/cxusb.c
index 5b6431ea38c1..b4a3f7baf1b7 100644
--- a/drivers/media/dvb/dvb-usb/cxusb.c
+++ b/drivers/media/dvb/dvb-usb/cxusb.c
@@ -49,11 +49,9 @@ static int cxusb_ctrl_msg(struct dvb_usb_device *d,
49 sndbuf[0] = cmd; 49 sndbuf[0] = cmd;
50 memcpy(&sndbuf[1], wbuf, wlen); 50 memcpy(&sndbuf[1], wbuf, wlen);
51 if (wo) 51 if (wo)
52 dvb_usb_generic_write(d, sndbuf, 1+wlen); 52 return dvb_usb_generic_write(d, sndbuf, 1+wlen);
53 else 53 else
54 dvb_usb_generic_rw(d, sndbuf, 1+wlen, rbuf, rlen, 0); 54 return dvb_usb_generic_rw(d, sndbuf, 1+wlen, rbuf, rlen, 0);
55
56 return 0;
57} 55}
58 56
59/* GPIO */ 57/* GPIO */