dre: Set sys.usb.mtp.batchcancel for 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: Icea9a2815c79ff710ee887d02e4c99dfe5ad6361
This commit is contained in:
parent
e34cc81234
commit
6dba679fe2
1 changed files with 1 additions and 0 deletions
|
@ -161,6 +161,7 @@ persist.vendor.sensors.enable.bypass_worker=true
|
|||
persist.vendor.sensors.sync_request=true
|
||||
|
||||
# USB
|
||||
sys.usb.mtp.batchcancel=1
|
||||
vendor.usb.diag.func.name=ffs
|
||||
vendor.usb.use_ffs_mtp=1
|
||||
|
||||
|
|
Loading…
Reference in a new issue