gadget: f_thor: update to support more than 4GB file as thor 5.0 89/177589/5
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 2 May 2018 04:26:05 +0000 (13:26 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 10 May 2018 07:29:47 +0000 (07:29 +0000)
commit0a952b6ef593e3c55efd969ef68c29d396a50ff3
tree37431a6a554ec499640b0f952372c7ab302411a3
parent1115f88eff8329295f7a3f4021079c2b6e4c9606
gadget: f_thor: update to support more than 4GB file as thor 5.0

During file download, it only uses 32bit variable for file size and
it limits maximum file size less than 4GB. Update to support more
than 4GB file with using two 32bit variables for file size as thor
protocol 5.0.

Change-Id: Ifc572b6939db1693455e168e2e8fb871edac62a2
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/usb/gadget/f_thor.c
drivers/usb/gadget/f_thor.h