USB: Set sys.usb.mtp.batchcancel for targets using mtp over ffs
Currently, cancelEvents in MTP will cancel the requests one by
one, and it will check each response to confirm success or
failure. However, if kernel usb controller driver got the
cancel request, the driver will handle all requests in the same
endpoint so that the second io_cancel in cancelEvents will be
useless causing the cancelEvents to return error and fail the
transfer.
Fix this by setting sys.usb.mtp.batchcancel for the targets
using mtp over ffs.
Change-Id: I9bf966cad77ab5c6e7ec2cbf544bd03486dc2143
1 file changed