diff options
author | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2006-01-09 18:25:22 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2006-01-09 18:25:22 +0100 |
commit | 4302c15ea237a649780894e263125fcd8c548998 (patch) | |
tree | ccddac5c9a79e7adc16ea238392b4dc55c8998fb /drivers/media/dvb/dvb-usb/digitv.c | |
parent | V4L/DVB (3130): cx24123: cleanup timout handling (diff) | |
download | linux-4302c15ea237a649780894e263125fcd8c548998.tar.xz linux-4302c15ea237a649780894e263125fcd8c548998.zip |
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 450417a9e64b..e6c55c9c9417 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 { |