Revision 8624dd2a3e33b647cd672211b54ba276ddee2a2c authored by Bjørn Mork on 12 September 2012, 20:44:35 UTC, committed by David S. Miller on 13 September 2012, 20:11:51 UTC
This fixes a hang on suspend due to calling wdm_suspend on the unregistered data interface. The hang should have been a NULL pointer reference had it not been for a logic error in the cdc_wdm code. commit 230718bd net: qmi_wwan: bind to both control and data interface changed qmi_wwan to use cdc_wdm as a subdriver for devices with a two-interface QMI/wwan function. The commit failed to update qmi_wwan_suspend and qmi_wwan_resume, which were written to handle either a single combined interface function, or no subdriver at all. The result was that we called into the subdriver both when the control interface was suspended and when the data interface was suspended. Calling the subdriver suspend function with an unregistered interface is not supported and will make the subdriver bug out. Signed-off-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent ba1bf47
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 27.3 KB |
Makefile | -rw-r--r-- | 2.3 KB |
mac-celtic.c | -rw-r--r-- | 30.5 KB |
mac-centeuro.c | -rw-r--r-- | 26.4 KB |
mac-croatian.c | -rw-r--r-- | 30.6 KB |
mac-cyrillic.c | -rw-r--r-- | 24.3 KB |
mac-gaelic.c | -rw-r--r-- | 28.5 KB |
mac-greek.c | -rw-r--r-- | 24.3 KB |
mac-iceland.c | -rw-r--r-- | 30.6 KB |
mac-inuit.c | -rw-r--r-- | 26.4 KB |
mac-roman.c | -rw-r--r-- | 32.6 KB |
mac-romanian.c | -rw-r--r-- | 30.6 KB |
mac-turkish.c | -rw-r--r-- | 30.6 KB |
nls_ascii.c | -rw-r--r-- | 5.7 KB |
nls_base.c | -rw-r--r-- | 15.6 KB |
nls_cp1250.c | -rw-r--r-- | 15.1 KB |
nls_cp1251.c | -rw-r--r-- | 12.5 KB |
nls_cp1255.c | -rw-r--r-- | 17.0 KB |
nls_cp437.c | -rw-r--r-- | 17.1 KB |
nls_cp737.c | -rw-r--r-- | 15.2 KB |
nls_cp775.c | -rw-r--r-- | 13.3 KB |
nls_cp850.c | -rw-r--r-- | 13.1 KB |
nls_cp852.c | -rw-r--r-- | 14.5 KB |
nls_cp855.c | -rw-r--r-- | 12.1 KB |
nls_cp857.c | -rw-r--r-- | 12.4 KB |
nls_cp860.c | -rw-r--r-- | 15.8 KB |
nls_cp861.c | -rw-r--r-- | 17.1 KB |
nls_cp862.c | -rw-r--r-- | 19.0 KB |
nls_cp863.c | -rw-r--r-- | 16.8 KB |
nls_cp864.c | -rw-r--r-- | 18.6 KB |
nls_cp865.c | -rw-r--r-- | 17.1 KB |
nls_cp866.c | -rw-r--r-- | 12.4 KB |
nls_cp869.c | -rw-r--r-- | 13.1 KB |
nls_cp874.c | -rw-r--r-- | 10.7 KB |
nls_cp932.c | -rw-r--r-- | 479.7 KB |
nls_cp936.c | -rw-r--r-- | 682.0 KB |
nls_cp949.c | -rw-r--r-- | 854.8 KB |
nls_cp950.c | -rw-r--r-- | 580.0 KB |
nls_euc-jp.c | -rw-r--r-- | 23.9 KB |
nls_iso8859-1.c | -rw-r--r-- | 10.0 KB |
nls_iso8859-13.c | -rw-r--r-- | 11.5 KB |
nls_iso8859-14.c | -rw-r--r-- | 14.5 KB |
nls_iso8859-15.c | -rw-r--r-- | 12.6 KB |
nls_iso8859-2.c | -rw-r--r-- | 12.9 KB |
nls_iso8859-3.c | -rw-r--r-- | 12.9 KB |
nls_iso8859-4.c | -rw-r--r-- | 12.9 KB |
nls_iso8859-5.c | -rw-r--r-- | 10.7 KB |
nls_iso8859-6.c | -rw-r--r-- | 10.2 KB |
nls_iso8859-7.c | -rw-r--r-- | 13.2 KB |
nls_iso8859-9.c | -rw-r--r-- | 10.8 KB |
nls_koi8-r.c | -rw-r--r-- | 13.5 KB |
nls_koi8-ru.c | -rw-r--r-- | 1.7 KB |
nls_koi8-u.c | -rw-r--r-- | 13.9 KB |
nls_utf8.c | -rw-r--r-- | 1.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...