scsi: ufs: disable vccq if it's not needed by UFS device
authorYaniv Gardi <ygardi@codeaurora.org>
Thu, 10 Mar 2016 15:37:11 +0000 (17:37 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 15 Mar 2016 01:04:45 +0000 (21:04 -0400)
commit60f0187031c05e04cbadffb62f557d0ff3564490
tree669149f5ba8f965f01edf0895c809c79f52987c9
parentc58ab7aab71e2c783087115f0ce1623c2fdcf0b2
scsi: ufs: disable vccq if it's not needed by UFS device

Some UFS devices don't require VCCQ rail for device operations hence
this change adds support to recognize such devices and remove vote for
the unused VCCQ rail.

Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufs.h
drivers/scsi/ufs/ufshcd.c