From c6555987424163ee4d4b1e3b259fbb9dbf1892f0 Mon Sep 17 00:00:00 2001 From: Jack Pham Date: Wed, 19 Nov 2014 17:11:22 -0800 Subject: [PATCH] init.qcom.usb.sh: Add support for msm8992 Perform target-specific USB initialization for MSM8992, which is similar to MSM8994. Change-Id: I8a00bd66b2307dcdec3aadb9ae8e12d61ac2f886 --- rootdir/etc/init.qcom.usb.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootdir/etc/init.qcom.usb.sh b/rootdir/etc/init.qcom.usb.sh index e4a58656..389a7162 100644 --- a/rootdir/etc/init.qcom.usb.sh +++ b/rootdir/etc/init.qcom.usb.sh @@ -128,7 +128,7 @@ case "$usb_config" in "msm8916") setprop persist.sys.usb.config diag,serial_smd,rmnet_bam,adb ;; - "msm8994") + "msm8994" | "msm8992") if [ "$soc_hwplatform" == "Dragon" ]; then setprop persist.sys.usb.config diag,adb else @@ -170,7 +170,7 @@ case "$target" in fi fi ;; - "msm8994") + "msm8994" | "msm8992") echo BAM2BAM_IPA > /sys/class/android_usb/android0/f_rndis_qc/rndis_transports echo 1 > /sys/class/android_usb/android0/f_rndis_qc/max_pkt_per_xfer # Disable RNDIS UL aggregation ;;