]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/scsi/ufs: reverse the ufshcd_is_device_present logic
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)
commit1986ec804f77bd45a0285c4eb56e4fc124f37d8e
tree44f76019635593c29f4021cff91374215f314b6f
parentca195195a3cc560738531c44bb123f22e07a8da4
drivers/scsi/ufs: reverse the ufshcd_is_device_present logic

Otherwise it counter intuitively returns 0 if device is present.

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