From: Yaniv Gardi Date: Thu, 23 Oct 2014 10:25:13 +0000 (+0300) Subject: ufs: fix power info after link start-up X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~54^2~6 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5064636c759628caee3b855048be25a9a33cc8ad;p=pandora-kernel.git 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 Signed-off-by: Dolev Raviv Reviewed-by: Maya Erez Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed