Merge "init.qcom.audio.sh: Remove creating symlinks for ANC and MBHC"
This commit is contained in:
commit
52a090605c
|
@ -115,41 +115,6 @@ case "$btsoc" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "$target" in
|
|
||||||
msm8974*)
|
|
||||||
|
|
||||||
rm -rf /system/etc/firmware/wcd9320/wcd9320_anc.bin
|
|
||||||
rm -rf /system/etc/firmware/wcd9320/wcd9320_mbhc.bin
|
|
||||||
mkdir -p /system/etc/firmware/wcd9320
|
|
||||||
ln -s /data/misc/audio/wcd9320_anc.bin /system/etc/firmware/wcd9320/wcd9320_anc.bin
|
|
||||||
ln -s /data/misc/audio/mbhc.bin /system/etc/firmware/wcd9320/wcd9320_mbhc.bin
|
|
||||||
ln -s /data/misc/audio/wcd9320_mad_audio.bin /system/etc/firmware/wcd9320/wcd9320_mad_audio.bin
|
|
||||||
;;
|
|
||||||
|
|
||||||
msm8226*)
|
|
||||||
|
|
||||||
rm -rf /system/etc/firmware/wcd9306/wcd9306_anc.bin
|
|
||||||
rm -rf /system/etc/firmware/wcd9306/wcd9306_mbhc.bin
|
|
||||||
mkdir -p /system/etc/firmware/wcd9306
|
|
||||||
ln -s /data/misc/audio/wcd9320_anc.bin /system/etc/firmware/wcd9306/wcd9306_anc.bin
|
|
||||||
ln -s /data/misc/audio/mbhc.bin /system/etc/firmware/wcd9306/wcd9306_mbhc.bin
|
|
||||||
;;
|
|
||||||
|
|
||||||
msm8960*)
|
|
||||||
;&
|
|
||||||
msm8660*)
|
|
||||||
|
|
||||||
rm -f /system/etc/firmware/wcd9310/wcd9310_anc.bin
|
|
||||||
rm -f /system/etc/firmware/wcd9310/wcd9310_mbhc.bin
|
|
||||||
mkdir -p /system/etc/firmware/wcd9310
|
|
||||||
ln -s /data/misc/audio/wcd9310_anc.bin /system/etc/firmware/wcd9310/wcd9310_anc.bin
|
|
||||||
ln -s /data/misc/audio/mbhc.bin /system/etc/firmware/wcd9310/wcd9310_mbhc.bin
|
|
||||||
;;
|
|
||||||
|
|
||||||
*)
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
setprop qcom.audio.init complete
|
setprop qcom.audio.init complete
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue