scsi: ufs: flush eh_work when eh_work scheduled.
authorZang Leigang <zangleigang@hisilicon.com>
Sat, 24 Jun 2017 11:14:32 +0000 (19:14 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 1 Jul 2017 20:51:23 +0000 (16:51 -0400)
commit8dc0da7981a3f9680c873e92e3ec17308377e3b9
tree885428a5fe47f61a6867ee9dc7dd91623ae479a4
parent578079fab3f89eda73d7f3bb3bdfdf650ab1b8ec
scsi: ufs: flush eh_work when eh_work scheduled.

Forget a condition: eh_work scheduled but do not start to work.

Signed-off-by: Zang Leigang <zangleigang@hisilicon.com>
Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c