aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/tm6000/tm6000-dvb.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-04-26 11:24:18 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 12:58:18 -0300
commit6ae635c4f36d7a0b931feb4bb6dad6e5f18187cf (patch)
treec25817f7f8111fa9f0b82acf39f681b3e0673037 /drivers/staging/tm6000/tm6000-dvb.c
parentV4L/DVB: tm6000: Add additional GPIO for UT821 during frmware loading (diff)
downloadlinux-dev-6ae635c4f36d7a0b931feb4bb6dad6e5f18187cf.tar.xz
linux-dev-6ae635c4f36d7a0b931feb4bb6dad6e5f18187cf.zip
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.c2
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));