]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/scsi/ufs: fix incorrect return value about SUCCESS and FAILED
authorNamjae Jeon <linkinjeon@gmail.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)
commit5ebe6856413026cf6534f4e566020a73b8c23e23
tree1b406f04973d0918d56c1389bf4d4939948b283c
parent86d6597077feb85375eff8ab5fa1004153519e8d
drivers/scsi/ufs: fix incorrect return value about SUCCESS and FAILED

Currently the UFS host driver has returned incorrect values for SUCCESS
and FAILED.  Fix it to return the correct value to the upper layer.

Signed-off-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