aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorPatrick Boettcher <pb@linuxtv.org>2005-07-07 20:58:14 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-07 21:24:00 -0400
commitc251ef6167c46152e247fc41628a4ac2d0aca33e (patch)
treede5dd85294ded63b3718b9eafc21758e2e7d2642 /drivers
parent78c6e73f5a27f01e45e86a4e3d13863c9cce6374 (diff)
[PATCH] dvb: usb: dvb_usb_properties init fix
There was no pid-filter-count set for some devices - led to an error. Thanks to Gerolf Wendland. Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb/dvb-usb/dibusb-mb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-usb/dibusb-mb.c b/drivers/media/dvb/dvb-usb/dibusb-mb.c
index aee6263f07cc..691900578ee3 100644
--- a/drivers/media/dvb/dvb-usb/dibusb-mb.c
+++ b/drivers/media/dvb/dvb-usb/dibusb-mb.c
@@ -209,6 +209,8 @@ static struct dvb_usb_properties dibusb1_1_properties = {
209 209
210static struct dvb_usb_properties dibusb1_1_an2235_properties = { 210static struct dvb_usb_properties dibusb1_1_an2235_properties = {
211 .caps = DVB_USB_HAS_PID_FILTER | DVB_USB_PID_FILTER_CAN_BE_TURNED_OFF | DVB_USB_IS_AN_I2C_ADAPTER, 211 .caps = DVB_USB_HAS_PID_FILTER | DVB_USB_PID_FILTER_CAN_BE_TURNED_OFF | DVB_USB_IS_AN_I2C_ADAPTER,
212 .pid_filter_count = 16,
213
212 .usb_ctrl = CYPRESS_AN2235, 214 .usb_ctrl = CYPRESS_AN2235,
213 215
214 .firmware = "dvb-usb-dibusb-an2235-01.fw", 216 .firmware = "dvb-usb-dibusb-an2235-01.fw",
@@ -263,6 +265,8 @@ static struct dvb_usb_properties dibusb1_1_an2235_properties = {
263 265
264static struct dvb_usb_properties dibusb2_0b_properties = { 266static struct dvb_usb_properties dibusb2_0b_properties = {
265 .caps = DVB_USB_HAS_PID_FILTER | DVB_USB_PID_FILTER_CAN_BE_TURNED_OFF | DVB_USB_IS_AN_I2C_ADAPTER, 267 .caps = DVB_USB_HAS_PID_FILTER | DVB_USB_PID_FILTER_CAN_BE_TURNED_OFF | DVB_USB_IS_AN_I2C_ADAPTER,
268 .pid_filter_count = 32,
269
266 .usb_ctrl = CYPRESS_FX2, 270 .usb_ctrl = CYPRESS_FX2,
267 271
268 .firmware = "dvb-usb-adstech-usb2-02.fw", 272 .firmware = "dvb-usb-adstech-usb2-02.fw",