scsi: ufs: separate device and host quirks
authorYaniv Gardi <ygardi@codeaurora.org>
Thu, 10 Mar 2016 15:37:10 +0000 (17:37 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 15 Mar 2016 01:04:45 +0000 (21:04 -0400)
commitc58ab7aab71e2c783087115f0ce1623c2fdcf0b2
treefac4f86f285d9b49e0be67b6075407fb3eb6437d
parentb573d484e4ff33b60b1ef95ca30f199e749ff7c9
scsi: ufs: separate device and host quirks

Currently we use the host quirks mechanism in order to
handle both device and host controller quirks.
In order to support various of UFS devices we should separate
handling the device quirks from the host controller's.

Reviewed-by: Gilad Broner <gbroner@codeaurora.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Raviv Shvili <rshvili@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/ufs_quirks.h [new file with mode: 0644]
drivers/scsi/ufs/ufshcd.c
drivers/scsi/ufs/ufshcd.h