aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2019-11-25 07:51:36 +0000
committerLinaro Code Review <review@review.linaro.org>2019-11-25 07:51:36 +0000
commitc7c1cf9f699e8c2df9f02ad1b43ee49b9cb742ab (patch)
tree7c9cea48bc1f68af20f5a2db9083e7e859e54242
parent65723c66a47b065d6f7fd198b053e1c3005db54e (diff)
parent63494268b654d80df033f4cdeccf8f115801b756 (diff)
downloadfai-c7c1cf9f699e8c2df9f02ad1b43ee49b9cb742ab.tar.gz
Merge "scripts/QCOM/21-customize: Customize pulseaudio default.pa"
-rwxr-xr-xscripts/QCOM/21-customize3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/QCOM/21-customize b/scripts/QCOM/21-customize
index c759ccd..27a216c 100755
--- a/scripts/QCOM/21-customize
+++ b/scripts/QCOM/21-customize
@@ -15,6 +15,9 @@ if ifclass INSTALLER; then
EOF
fi
+# Add tsched=0 on module-udev-detect to fix distorted sound
+sed -i "s|^load-module module-udev-detect|load-module module-udev-detect tsched=0|" $target/etc/pulse/default.pa
+
# In case initrd doesn't exist, create it, else update
if [ -f $target/boot/initrd.img-${KVERS} ]
then