John Ernberg
4152b387da
USB: option: fix Cinterion AHxx enumeration
...
In certain kernel configurations where the cdc_ether and option drivers
are compiled as modules there can occur a race condition in enumeration.
This causes the option driver to enumerate the ethernet(wwan) interface
as usb-serial interfaces.
usb-devices output for the modem:
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 5 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1e2d ProdID=0055 Rev=00.00
S: Manufacturer=Cinterion
S: Product=AHx
C: #Ifs= 6 Cfg#= 1 Atr=e0 MxPwr=10mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#= 4 Alt= 0 #EPs= 1 Cls=02(commc) Sub=06 Prot=00 Driver=cdc_ether
I: If#= 5 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
Signed-off-by: John Ernberg <john.ernberg@actia.se>
Fixes: 1941138e1c02 ("USB: added support for Cinterion's products...")
Cc: stable <stable@vger.kernel.org> # v3.9: 8ff10bdb14a52
Signed-off-by: Johan Hovold <johan@kernel.org>
2016-01-25 13:32:53 +01:00
..
2014-01-03 12:39:31 -08:00
2014-01-08 15:01:39 -08:00
2014-01-08 15:01:39 -08:00
2015-02-26 17:13:05 +01:00
2015-04-03 18:59:34 +02:00
2015-02-26 17:06:39 +01:00
2016-01-25 10:57:55 +01:00
2014-03-12 12:44:50 -07:00
2014-03-12 12:44:50 -07:00
2014-01-03 12:42:24 -08:00
2014-09-23 21:19:35 -07:00
2014-01-08 15:01:39 -08:00
2015-03-27 17:36:29 +01:00
2016-01-25 11:52:58 +01:00
2016-01-25 11:52:58 +01:00
2014-01-08 15:01:39 -08:00
2015-03-07 03:44:14 +01:00
2015-12-11 11:05:20 +01:00
2013-03-25 13:50:53 -07:00
2015-10-09 12:23:50 +02:00
2014-05-27 15:12:57 -07:00
2015-12-18 09:30:34 -08:00
2014-01-08 15:01:39 -08:00
2014-01-03 12:31:46 -08:00
2014-03-12 12:44:50 -07:00
2015-12-29 09:28:23 +01:00
2015-03-19 18:04:01 +01:00
2014-01-03 12:39:31 -08:00
2015-01-02 15:12:28 +01:00
2014-07-09 15:44:06 -07:00
2014-11-26 10:41:46 -08:00
2015-12-29 09:28:23 +01:00
2014-01-08 15:01:39 -08:00
2014-01-08 15:01:39 -08:00
2015-07-06 12:15:02 +02:00
2015-12-11 11:05:49 +01:00
2016-01-25 12:47:47 +01:00
2015-08-05 12:37:21 -07:00
2014-01-08 15:01:39 -08:00
2014-01-08 15:01:39 -08:00
2014-11-03 09:07:30 +01:00
2016-01-25 13:32:53 +01:00
2014-01-08 15:01:39 -08:00
2015-07-30 18:11:07 +02:00
2015-04-29 12:34:24 +02:00
2014-01-08 15:01:39 -08:00
2015-11-16 18:29:07 +01:00
2014-03-12 12:44:50 -07:00
2014-01-08 15:01:39 -08:00
2015-07-28 09:27:50 +02:00
2014-03-12 12:44:50 -07:00
2014-11-19 16:22:22 +01:00
2015-08-18 10:06:22 -07:00
2015-11-16 14:07:01 +01:00
2015-11-16 14:07:01 +01:00
2014-01-08 15:01:39 -08:00
2015-10-09 12:42:40 +02:00
2015-11-23 10:32:59 +01:00
2015-07-09 10:41:23 +02:00
2015-10-09 12:42:40 +02:00
2016-01-25 11:40:45 +01:00
2014-01-03 12:39:31 -08:00
2015-09-23 12:15:19 -07:00
2014-01-08 15:01:39 -08:00
2014-09-04 11:18:26 +02:00