scsi: ufs: provide a quirk to disable the LCC
authorYaniv Gardi <ygardi@codeaurora.org>
Sun, 17 May 2015 15:54:59 +0000 (18:54 +0300)
committerJames Bottomley <JBottomley@Odin.com>
Tue, 2 Jun 2015 20:14:39 +0000 (13:14 -0700)
commit7ca38cf300eb7fba9010d847baa6a4f5c458dd4e
tree9a0202197e763a3cfac3acaf100c602b94de9fe0
parent81c7e06a5ffcca8ac8bbaa2422051bf1d7a87a46
scsi: ufs: provide a quirk to disable the LCC

LCC (Line Control Command) are being used for communication between
UFS host and UFS device.
New commercial UFS devices don't have the issues with LCC processing
but UFS host controller might still have the issue with LCC processing,
hence, added a routine to disable TX LCC on the device.

Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
Reviewed-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/ufs/ufshcd.c
drivers/scsi/ufs/ufshcd.h
drivers/scsi/ufs/ufshci.h