aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/usb/cx231xx/cx231xx-cards.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/usb/cx231xx/cx231xx-cards.c b/drivers/media/usb/cx231xx/cx231xx-cards.c
index 2ee03e4ddd86..6d785db96d99 100644
--- a/drivers/media/usb/cx231xx/cx231xx-cards.c
+++ b/drivers/media/usb/cx231xx/cx231xx-cards.c
@@ -1185,8 +1185,7 @@ static int cx231xx_usb_probe(struct usb_interface *interface,
1185 dev->vbi_or_sliced_cc_mode = 0; 1185 dev->vbi_or_sliced_cc_mode = 0;
1186 1186
1187 /* get maximum no.of IAD interfaces */ 1187 /* get maximum no.of IAD interfaces */
1188 assoc_desc = udev->actconfig->intf_assoc[0]; 1188 dev->max_iad_interface_count = udev->config->desc.bNumInterfaces;
1189 dev->max_iad_interface_count = assoc_desc->bInterfaceCount;
1190 1189
1191 /* init CIR module TBD */ 1190 /* init CIR module TBD */
1192 1191