nfc: Fix RC-S380* needs zero-length packet
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Sat, 4 Feb 2017 01:16:28 +0000 (10:16 +0900)
committerSamuel Ortiz <sameo@linux.intel.com>
Sat, 1 Apr 2017 21:04:30 +0000 (23:04 +0200)
commit0ada076819529203e11fcd5d3d52a2c9ada21879
treeb1ede6a6e13310270d9961b845ebaa78128fd688
parent85a2566d70a851c85806f687b93a9559bb8a3b11
nfc: Fix RC-S380* needs zero-length packet

If sent packet size is wMaxPacketSize boundary, this device doesn't
answer. To fix this, we have to send zero-length packet in usb spec.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/port100.c