]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/scsi/ufs: fix evaluation of task_failed status
authorVenkatraman S <svenkatr@ti.com>
Thu, 3 May 2012 05:43:26 +0000 (15:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:19 +0000 (15:46 +1000)
commit86d6597077feb85375eff8ab5fa1004153519e8d
tree8c441ff45cea47a18c286d52df05701b13cd0e32
parent1986ec804f77bd45a0285c4eb56e4fc124f37d8e
drivers/scsi/ufs: fix evaluation of task_failed status

Else FAILED would be set even if task_result was originally equal to
UPIU_TASK_MANAGEMENT_FUNC_SUCCEEDED.

Reported-by: Joe Perches <joe@perches.com>
Signed-off-by: Venkatraman S <svenkatr@ti.com>
Reviewed-by: Namjae Jeon <linkinjeon@gmail.com>
Acked-by: Santosh Y <santoshsy@gmail.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/scsi/ufs/ufshcd.c