OpenCloudOS-Kernel/drivers/isdn/hisax
Sarah Sharp e1f12eb6ba USB: Disable hub-initiated LPM for comms devices.
Hub-initiated LPM is not good for USB communications devices.  Comms
devices should be able to tell when their link can go into a lower power
state, because they know when an incoming transmission is finished.
Ideally, these devices would slam their links into a lower power state,
using the device-initiated LPM, after finishing the last packet of their
data transfer.

If we enable the idle timeouts for the parent hubs to enable
hub-initiated LPM, we will get a lot of useless LPM packets on the bus
as the devices reject LPM transitions when they're in the middle of
receiving data.  Worse, some devices might blindly accept the
hub-initiated LPM and power down their radios while they're in the
middle of receiving a transmission.

The Intel Windows folks are disabling hub-initiated LPM for all USB
communications devices under a xHCI USB 3.0 host.  In order to keep
the Linux behavior as close as possible to Windows, we need to do the
same in Linux.

Set the disable_hub_initiated_lpm flag for for all USB communications
drivers.  I know there aren't currently any USB 3.0 devices that
implement these class specifications, but we should be ready if they do.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: Marcel Holtmann <marcel@holtmann.org>
Cc: Gustavo Padovan <gustavo@padovan.org>
Cc: Johan Hedberg <johan.hedberg@gmail.com>
Cc: Hansjoerg Lipp <hjlipp@web.de>
Cc: Tilman Schmidt <tilman@imap.cc>
Cc: Karsten Keil <isdn@linux-pingi.de>
Cc: Peter Korsgaard <jacmet@sunsite.dk>
Cc: Jan Dumon <j.dumon@option.com>
Cc: Petko Manolov <petkan@users.sourceforge.net>
Cc: Steve Glendinning <steve.glendinning@smsc.com>
Cc: "John W. Linville" <linville@tuxdriver.com>
Cc: Kalle Valo <kvalo@qca.qualcomm.com>
Cc: "Luis R. Rodriguez" <mcgrof@qca.qualcomm.com>
Cc: Jouni Malinen <jouni@qca.qualcomm.com>
Cc: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Cc: Senthil Balasubramanian <senthilb@qca.qualcomm.com>
Cc: Christian Lamparter <chunkeey@googlemail.com>
Cc: Brett Rudley <brudley@broadcom.com>
Cc: Roland Vossen <rvossen@broadcom.com>
Cc: Arend van Spriel <arend@broadcom.com>
Cc: "Franky (Zhenhui) Lin" <frankyl@broadcom.com>
Cc: Kan Yan <kanyan@broadcom.com>
Cc: Dan Williams <dcbw@redhat.com>
Cc: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Cc: Ivo van Doorn <IvDoorn@gmail.com>
Cc: Gertjan van Wingerde <gwingerde@gmail.com>
Cc: Helmut Schaa <helmut.schaa@googlemail.com>
Cc: Herton Ronaldo Krzesinski <herton@canonical.com>
Cc: Hin-Tak Leung <htl10@users.sourceforge.net>
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Chaoming Li <chaoming_li@realsil.com.cn>
Cc: Daniel Drake <dsd@gentoo.org>
Cc: Ulrich Kunitz <kune@deine-taler.de>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
2012-05-18 15:42:55 -07:00
..
Kconfig PCI: push deprecated pci_find_device() function to last user 2010-02-22 16:17:01 -08:00
Makefile isdn: change to new flag variable 2011-03-17 14:05:34 +01:00
amd7930_fn.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
amd7930_fn.h fix file specification in comments 2006-10-03 23:01:26 +02:00
arcofi.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
arcofi.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
asuscom.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
avm_a1.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
avm_a1p.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
avm_pci.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
avma1_cs.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
bkm_a4t.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
bkm_a8.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
bkm_ax.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
callc.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
config.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
diva.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
elsa.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
elsa_cs.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
elsa_ser.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
enternow_pci.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
fsm.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
fsm.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
gazel.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hfc4s8s_l1.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hfc4s8s_l1.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hfc_2bds0.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hfc_2bds0.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hfc_2bs0.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hfc_2bs0.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hfc_pci.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hfc_pci.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hfc_sx.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hfc_sx.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hfc_usb.c USB: Disable hub-initiated LPM for comms devices. 2012-05-18 15:42:55 -07:00
hfc_usb.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hfcscard.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hisax.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hisax_cfg.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hisax_debug.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hisax_fcpcipnp.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hisax_fcpcipnp.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hisax_if.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hisax_isac.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hisax_isac.h
hscx.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hscx.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hscx_irq.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
icc.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
icc.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
ipac.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
ipacx.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
ipacx.h
isac.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
isac.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
isar.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
isar.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
isdnl1.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
isdnl1.h treewide: use __printf not __attribute__((format(printf,...))) 2011-10-31 17:30:54 -07:00
isdnl2.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
isdnl2.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
isdnl3.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
isdnl3.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
isurf.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
ix1_micro.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
jade.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
jade.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
jade_irq.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
l3_1tr6.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
l3_1tr6.h
l3dss1.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
l3dss1.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
l3ni1.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
l3ni1.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
lmgr.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
mic.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
netjet.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
netjet.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
niccy.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
nj_s.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
nj_u.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
q931.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
s0box.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
saphir.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
sedlbauer.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
sedlbauer_cs.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
sportster.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
st5481.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
st5481_b.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
st5481_d.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
st5481_init.c USB: Disable hub-initiated LPM for comms devices. 2012-05-18 15:42:55 -07:00
st5481_usb.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
tei.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
teleint.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
teles0.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
teles3.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
teles_cs.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
telespci.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
w6692.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
w6692.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00