From: Jonathan McDowell Date: Fri, 2 Jan 2015 17:55:17 +0000 (-0300) Subject: [media] Fix Mygica T230 support X-Git-Tag: v3.19-rc6~11^2~6 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=d0bb12c9f4811b8a8c0a87ac1b5fbab19861e7e0;p=~emulex%2Finfiniband.git [media] Fix Mygica T230 support Commit 2adb177e57417cf8409e86bda2c516e5f99a2099 removed 2 devices from the cxusb device table but failed to fix up the T230 properties that follow, meaning that this device no longer gets detected properly. Adjust the cxusb_table index appropriate so detection works. Signed-off-by: Jonathan McDowell Reviewed-by: Olli Salonen Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/usb/dvb-usb/cxusb.c b/drivers/media/usb/dvb-usb/cxusb.c index 0f345b1f901..f327c49d7e0 100644 --- a/drivers/media/usb/dvb-usb/cxusb.c +++ b/drivers/media/usb/dvb-usb/cxusb.c @@ -2232,7 +2232,7 @@ static struct dvb_usb_device_properties cxusb_mygica_t230_properties = { { "Mygica T230 DVB-T/T2/C", { NULL }, - { &cxusb_table[22], NULL }, + { &cxusb_table[20], NULL }, }, } };