diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-04-26 11:24:18 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 12:58:18 -0300 |
commit | 6ae635c4f36d7a0b931feb4bb6dad6e5f18187cf (patch) | |
tree | c25817f7f8111fa9f0b82acf39f681b3e0673037 /drivers/staging/tm6000/tm6000-dvb.c | |
parent | 1ebf2c7f78bbf3501c13c6b442dc8e52beb77be6 (diff) |
V4L/DVB: tm6000: Properly set alternate when preparing to stream
Although the code is getting the better alternates, it is not really using
it. Get the interface/alternate numbers and use it where needed.
This patch implements also one small fix at the last_line set, as
proposed by Bee Hock Goh <behock@gmail.com>.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging/tm6000/tm6000-dvb.c')
-rw-r--r-- | drivers/staging/tm6000/tm6000-dvb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/tm6000/tm6000-dvb.c b/drivers/staging/tm6000/tm6000-dvb.c index 1072206f2a71..eafc89c22b6b 100644 --- a/drivers/staging/tm6000/tm6000-dvb.c +++ b/drivers/staging/tm6000/tm6000-dvb.c @@ -108,7 +108,7 @@ int tm6000_start_stream(struct tm6000_core *dev) return -ENOMEM; } - pipe = usb_rcvbulkpipe(dev->udev, dev->bulk_in->desc.bEndpointAddress + pipe = usb_rcvbulkpipe(dev->udev, dev->bulk_in.endp->desc.bEndpointAddress & USB_ENDPOINT_NUMBER_MASK); size = usb_maxpacket(dev->udev, pipe, usb_pipeout(pipe)); |