]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/scsi/ufs: fix evaluation of task_failed status
authorVenkatraman S <svenkatr@ti.com>
Wed, 25 Apr 2012 01:03:25 +0000 (11:03 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 30 Apr 2012 05:17:16 +0000 (15:17 +1000)
commit14f119f11ac36a076b5be156c6a7369b6c4cbb68
treebf88d8c6bd4fa7fcc73d2d0da01b662bf86bc4e7
parent2f37231997daba1b1cacc975de11f13b2eef904c
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