xhci: tegra: Reset EMC bandwidth before elpg
authorHenry Lin <henryl@nvidia.com>
Tue, 29 Oct 2013 07:53:54 +0000 (15:53 +0800)
committerHarry Hong <hhong@nvidia.com>
Tue, 14 Jan 2014 00:31:18 +0000 (16:31 -0800)
commit05536b463ba44cbe75a9002d34162d49b0009cf0
tree2314c3f3ebf9e07b083c12762dc89fdfc1878406
parentac4193a64d2a45b56e38d5bdfce0b129628fb22a
xhci: tegra: Reset EMC bandwidth before elpg

xhci fw informs driver the changes to maximum bandwidth requirement
by MBOX_CMD_SET_BW mailbox command. Driver should reset the required
bandwidth to 0 before going to elpg.

Bug 1371282

Change-Id: Ic7cdd4d95335a02bce6b017d9d5af101bd4b1365
Signed-off-by: Henry Lin <henryl@nvidia.com>
Reviewed-on: http://git-master/r/304734
(cherry picked from commit f21d0ee5e1cadd578ad962df02f90a38adf16369)
Signed-off-by: Henry Lin <henryl@nvidia.com>
Reviewed-on: http://git-master/r/354846
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
drivers/usb/host/xhci-tegra.c