1
0
Fork 0
alistair23-linux/drivers/scsi/ufs
Yaniv Gardi 5064636c75 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>
2014-11-20 17:01:32 +01:00
..
Kconfig ufs: Add support for clock scaling using devfreq framework 2014-10-01 13:11:25 +02:00
Makefile [SCSI] ufs: Add Platform glue driver for ufshcd 2013-05-02 16:16:50 -07:00
ufs.h ufs: add UFS power management support 2014-10-01 13:11:23 +02:00
ufshcd-pci.c ufs: add UFS power management support 2014-10-01 13:11:23 +02:00
ufshcd-pltfrm.c ufs: Add freq-table-hz property for UFS device 2014-10-01 13:11:25 +02:00
ufshcd.c ufs: fix power info after link start-up 2014-11-20 17:01:32 +01:00
ufshcd.h ufs: fix reference counting of W-LUs 2014-11-20 17:01:31 +01:00
ufshci.h ufs: add UFS power management support 2014-10-01 13:11:23 +02:00
unipro.h ufs: definitions for phy interface 2014-10-01 13:11:26 +02:00