V4L/DVB: tm6000: Properly set alternate when preparing to stream
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 26 Apr 2010 14:24:18 +0000 (11:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:58:18 +0000 (12:58 -0300)
commit6ae635c4f36d7a0b931feb4bb6dad6e5f18187cf
treec25817f7f8111fa9f0b82acf39f681b3e0673037
parent1ebf2c7f78bbf3501c13c6b442dc8e52beb77be6
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>
drivers/staging/tm6000/tm6000-cards.c
drivers/staging/tm6000/tm6000-dvb.c
drivers/staging/tm6000/tm6000-video.c
drivers/staging/tm6000/tm6000.h