scsi: ufs: introduce a new ufshcd_statea UFSHCD_STATE_EH_SCHEDULED
authorZang Leigang <zangleigang@hisilicon.com>
Tue, 4 Apr 2017 19:32:20 +0000 (19:32 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Apr 2017 10:41:19 +0000 (12:41 +0200)
commita17bddc4a78102ab55c7dbf76018b91e85694b07
tree87a6f02eb90ac1140809e478f5412e4e1d56de34
parente94ed347105dff7619d52e24bb8c298c6d5d06fd
scsi: ufs: introduce a new ufshcd_statea UFSHCD_STATE_EH_SCHEDULED

[ Upstream commit 141f81651037ea109188a6bafdc5c9a318bd5a46 ]

Add a new ufshcd_state, indicats that an err handler may get to run
immediately. Use UFSHCD_STATE_ERROR here looks not literaly correct.

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/ufs/ufshcd.c