summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorYaniv Gardi <ygardi@codeaurora.org>2014-10-23 10:25:13 (GMT)
committerChristoph Hellwig <hch@lst.de>2014-11-20 16:01:32 (GMT)
commit5064636c759628caee3b855048be25a9a33cc8ad (patch)
tree0ea2421bf0ffda40b1498380bc1ab7db09c0a429 /net
parent7c48bfd038e570cd12b33d6ab13316f3a0b0d1a7 (diff)
downloadlinux-5064636c759628caee3b855048be25a9a33cc8ad.tar.xz
ufs: fix power info after link start-up
After link start-up power mode will always be PWM G1. This is not reflected in the pwr_info struct which will keep the previous values. Since ufshcd_change_power_mode() tries to avoid unnecessary power mode change if the requested power mode and current power mode are same, power mode change won't execute again after driver initialization. This patch solves the problem by setting pwr_info to PWM G1 after link start-up. Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org> Signed-off-by: Dolev Raviv <draviv@codeaurora.org> Reviewed-by: Maya Erez <merez@codeaurora.org> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions