V4L/DVB (8042): DVB-USB UMT-010 channel scan oops
authorAustin Lund <austin.lund@gmail.com>
Fri, 13 Jun 2008 14:02:43 +0000 (11:02 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 26 Jun 2008 18:58:51 +0000 (15:58 -0300)
commit3b9408870757bd9e07fd03ac6318258f22b8dfa3
tree584a1134228bb3e220c4ef387e100a2c8ee91a48
parent3cfdc7f25b3116d57e91427caada74dd69bfbc06
V4L/DVB (8042): DVB-USB UMT-010 channel scan oops

In the umt-010 driver the struct umt_properties sets the number of URBs for
transfer to 20.  But in dvb-usb.h MAX_NO_URBS_FOR_DATA_STREAM is set to 10.

Not surprisingly this causes an oops for all devices which use the umt-010
chipset when they are inserted.

fix on Kaffeine channel scan for

Initialize stream count using MAX_NO_URBS_FOR_DATA_STREAM.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: maximilian attems <max@stro.at>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/dvb-usb/umt-010.c