diff options
author | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2006-01-09 15:25:22 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2006-01-09 15:25:22 -0200 |
commit | 4302c15ea237a649780894e263125fcd8c548998 (patch) | |
tree | ccddac5c9a79e7adc16ea238392b4dc55c8998fb /drivers/media/dvb/dvb-usb/digitv.c | |
parent | 0144f31466f0b7f1a8b21b470bfeb93c174a2006 (diff) | |
download | op-kernel-dev-4302c15ea237a649780894e263125fcd8c548998.zip op-kernel-dev-4302c15ea237a649780894e263125fcd8c548998.tar.gz |
V4L/DVB (3145): syncronizes some changes between v4l and dvb
- digitv_ctrl_msg() if (wo) test is reversed. fixed.
- usb timeout is in Hz, not in jiffies.
- NULL replaced by 0 to be coherent.
- removed uneeded headers.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/digitv.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/digitv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/digitv.c b/drivers/media/dvb/dvb-usb/digitv.c index 450417a..e6c55c9 100644 --- a/drivers/media/dvb/dvb-usb/digitv.c +++ b/drivers/media/dvb/dvb-usb/digitv.c @@ -32,7 +32,7 @@ static int digitv_ctrl_msg(struct dvb_usb_device *d, sndbuf[1] = vv; sndbuf[2] = wo ? wlen : rlen; - if (!wo) { + if (wo) { memcpy(&sndbuf[3],wbuf,wlen); dvb_usb_generic_write(d,sndbuf,7); } else { |