summaryrefslogtreecommitdiffstats
path: root/net/nfc/nci/spi.c
diff options
context:
space:
mode:
authorGabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>2015-11-03 16:26:07 -0200
committerMartin K. Petersen <martin.petersen@oracle.com>2015-11-09 19:31:01 -0500
commit4f92d01a642d27716f60cdab0fd3c527fb7cfb0f (patch)
tree20ca6db4fb8ef5fc9bb16d82ccba849f2a02fa49 /net/nfc/nci/spi.c
parentf41f1d994e0e2e0fab29c6f3f9c77350f1769166 (diff)
downloadop-kernel-dev-4f92d01a642d27716f60cdab0fd3c527fb7cfb0f.zip
op-kernel-dev-4f92d01a642d27716f60cdab0fd3c527fb7cfb0f.tar.gz
ipr: Don't set NO_ULEN_CHK bit when resource is a vset.
According to the IPR specification, Inhibit Underlength Checking bit must be disabled when issuing commands to vsets. Enabling it in this case might cause SCSI commands to fail with an Illegal Request, so make sure we keep this bit cleared when resource is a vset. Signed-off-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com> Reviewed-by: Manoj Kumar <manoj@linux.vnet.ibm.com> Acked-by: Brian King <brking@linux.vnet.ibm.com> Reviewed-by: Wen Xiong <wenxiong@linux.vnet.ibm.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'net/nfc/nci/spi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud