aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2023-01-31 12:18:32 +0100
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2023-01-31 12:18:32 +0100
commitf1db69e2f3349e5a20dae9bb5a5266c2a942a993 (patch)
treef646341cf830ed812f2390e1cf1123dc47a4100c
parenta3db23a324f2372b24584fce38ff914b649fa814 (diff)
scripts/QCOM/21-customize: remove tsched=0 workaround
Since 7f2430cda819 (ASoC: qcom: q6asm-dai: Add SNDRV_PCM_INFO_BATCH flag), in the mainline kernel, we no longer need to explicitely disable the timer based scheduling in PA, since the driver correctly reports SNDRV_PCM_INFO_BATCH. Change-Id: I8035ad200f879026a3236796bc6b425707901c5c Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
-rwxr-xr-xscripts/QCOM/21-customize3
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/QCOM/21-customize b/scripts/QCOM/21-customize
index 6c30d6a..976e643 100755
--- a/scripts/QCOM/21-customize
+++ b/scripts/QCOM/21-customize
@@ -8,9 +8,6 @@ EOF
# Add symlink to trigger systemd start of ttyMSM0 console
ln -sf "/lib/systemd/system/serial-getty@.service" "$target/etc/systemd/system/getty.target.wants/serial-getty@${SERIAL_CONSOLE}.service"
-# 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
-
# Rebuild all initramfs/initrd
rm -f $target/boot/initrd.img-*
chroot $target /usr/sbin/update-initramfs -c -k all