Commit Graph

4 Commits

Author SHA1 Message Date
John Stultz ac522297f7 msm8976-common: Disable nonblocking_ffs to avoid recent crashes with adbd
Recent changes to adbd have enabled nonblocking_ffs by default.

These have seeminly uncovered some bad memory corruption in the
kernel ffs gadget driver on every kernel I've tried so far.

Unfortunately I've not been able to diagnose what is going wrong,
so for now, lets disable the nonblocking_ffs.

We still need to root cause the issue as its a problem even with
the mainline kernel on HiKey, so its likely a generic kernel issue.

Signed-off-by: John Stultz <john.stultz@linaro.org>
2020-04-22 23:20:54 +02:00
ArianK16a 2851c3581c msm8976-common: rootdir: Set usb to mtp on charger
* Otherwise adb will try to start and crash the device
  while offmode charging at a computer.
2020-04-05 14:52:00 +02:00
Jerry Zhang 4e8ecc64e8 msm8976-common: Set sys.usb.ffs.aio_compat
The kernel does not support aio with ffs.
Set the property so adb/mtp know to use the compatible
functions, and the same while in recovery.

Bug: 37916658
Test: Use adb / use adb in recovery
Change-Id: Id35a05fcb9952dcf7239bd15a61cc620537419bc
2018-08-16 12:15:12 +02:00
LuK1337 3b78c9adb8 msm8976-common: Initial tree based on xiaomi/msm8956-common 2017-01-17 14:51:38 +01:00