From 2d716ea062d197af2b33a9ecc540d62d42169e5c Mon Sep 17 00:00:00 2001 From: Yaniv Gardi Date: Mon, 7 Oct 2013 19:40:31 -0700 Subject: [PATCH] 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 --- drivers/scsi/ufs/ufs-msm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/scsi/ufs/ufs-msm.c b/drivers/scsi/ufs/ufs-msm.c index 1536351a0a7a..67a6ffae02b6 100644 --- a/drivers/scsi/ufs/ufs-msm.c +++ b/drivers/scsi/ufs/ufs-msm.c @@ -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; }