Skip to contentSkip to conversation

Fix Mygica T230 support

PATCH In review Jonathan McDowell 2 participants 2 messages Jan 2, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

-----

drivers/media/usb/dvb-usb/cxusb.c +1 -1
index 0f345b1..f327c49 100644
@@ -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 },
 		},
 	}
 };

-----

J.

Signature · 3 lines
"Save usenet: rmgroup ox.colleges.keble" -- Simon Cozens, ox.test
This .sig brought to you by the letter J and the number 47
Product of the Republic of HuggieTag
Reviewed-by on v1 1/1
#1 lore raw

Indeed, good catch. Mauro, this should go into 3.19.

Quoted 21 lines · Jonathan McDowell

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.

-----

drivers/media/usb/dvb-usb/cxusb.c +1 -1
index 0f345b1..f327c49 100644
@@ -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 },
 		},
 	}
 };