scsi: ufs-msm: fix fall-through in switch case
fix fall through in msm_ufs_link_startup_notify() during PRE_CHANGE, since we would like msm_ufs_enable_tx_lanes(hba) to happen only in POST_CHANGE Change-Id: I91b1134ef7060ee8b8189335d0ef7b5a4f546534 Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
This commit is contained in:
parent
bf14b36ec0
commit
2d716ea062
1 changed files with 2 additions and 0 deletions
|
@ -1382,8 +1382,10 @@ static int msm_ufs_link_startup_notify(struct ufs_hba *hba, bool status)
|
|||
switch (status) {
|
||||
case PRE_CHANGE:
|
||||
msm_ufs_cfg_timers(hba);
|
||||
break;
|
||||
case POST_CHANGE:
|
||||
msm_ufs_enable_tx_lanes(hba);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue