[media] mceusb: don't claim multifunction device non-IR parts
authorJarod Wilson <jarod@redhat.com>
Tue, 1 Mar 2011 15:38:28 +0000 (12:38 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 2 Mar 2011 17:15:17 +0000 (14:15 -0300)
commita6994eb0a706bf36bcb3b5f7e439c5b76c31cfe5
treeec9a766e55c52e207990f7c6a25f9dee4ba97ad0
parent3198ed161c9be9bbd15bb2e9c22561248cac6e6a
[media] mceusb: don't claim multifunction device non-IR parts

There's a Realtek combo card reader and IR receiver device with multiple
usb interfaces on it. The mceusb driver is incorrectly grabbing all of
them. This change should make it bind to only interface 2 (patch based
on lsusb output on the linux-media list from Lucian Muresan).

Tested regression-free with the six mceusb devices I have myself.

Reported-by: Patrick Boettcher <pboettcher@kernellabs.com>
Reported-by: Lucian Muresan <lucianm@users.sourceforge.net>
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/mceusb.c