diff options
author | hayeswang <hayeswang@realtek.com> | 2015-02-12 16:20:46 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-14 20:15:45 -0800 |
commit | 65bab84c79077f3acbf7dcf2aec0588226d43663 (patch) | |
tree | e278fc0d6b8439f02c71c1d325de115d4d828f61 /fs/btrfs/ulist.c | |
parent | 0416605548766782acee60701b5c712e9b9e1bc2 (diff) | |
download | op-kernel-dev-65bab84c79077f3acbf7dcf2aec0588226d43663.zip op-kernel-dev-65bab84c79077f3acbf7dcf2aec0588226d43663.tar.gz |
r8152: restore hw settings
There is a capability which let the hw could change the settings
automatically when the power change to ON. However, the USB reset
would reset the settings to the hw default, so the driver has to
restore the relative settings. Otherwise, it would influence the
functions of the hw, and the compatibility for the USB hub and
USB host controller.
The relative settings are as following.
- set the power down scale to 96.
- enable the power saving function of USB 2.0.
- disable the ALDPS of ECM mode.
- set burst mode depending on the burst size.
- enable the flow control of endpoint full.
- set fifo empty boundary to 32448 bytes.
- enable the function of exiting LPM when Rx OK occurs.
- set the connect timer to 1.
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/btrfs/ulist.c')
0 files changed, 0 insertions, 0 deletions