scsi: ufs: Enable quirk to ignore sending WRITE_SAME command
authorSujit Reddy Thumma <sthumma@codeaurora.org>
Wed, 24 Jan 2018 04:22:35 +0000 (09:52 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 May 2018 14:13:06 +0000 (16:13 +0200)
commit9760af4d2eca3e836b43de41f4108b582ff7c02b
tree0a4b909a2780126f8aee113912ddf3d111711484
parent2c0fd4ba0587fa3e78c9b42cf50db0556b7e1c0b
scsi: ufs: Enable quirk to ignore sending WRITE_SAME command

[ Upstream commit 84af7e8b895088d89f246d6b0f82717fafdebf61 ]

WRITE_SAME command is not supported by UFS. Enable a quirk for the upper
level drivers to not send WRITE SAME command.

[mkp: botched patch, applied by hand]

Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/ufs/ufshcd.c