Skip to content

Commit 19e0bed

Browse files
binbinwu1wenlingz
authored andcommitted
script: re-enable audio passthru
This reverts partial of commit: 9bf5aaf "script: workarounds for UOS of 4.19-rc kernel", since our fixing patch for kernel crash when audio passthru is ready. Tracked-On:#1461 Signed-off-by: Binbin Wu <binbin.wu@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
1 parent eb97b2f commit 19e0bed

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

devicemodel/samples/apl-mrb/launch_uos.sh

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -298,12 +298,6 @@ else
298298
GVT_args=''
299299
fi
300300

301-
if [ "$kernel_version" = "4.19" ]; then
302-
audio_option=''
303-
else
304-
audio_option='-s 14,passthru,0/e/0,keep_gsi'
305-
fi
306-
307301
acrn-dm -A -m $mem_size -c $2$boot_GVT_option"$GVT_args" -s 0:0,hostbridge -s 1:0,lpc -l com1,stdio $npk_virt\
308302
-s 9,virtio-net,$tap \
309303
-s 3,virtio-blk$boot_dev_flag,/data/$5/$5.img \
@@ -312,7 +306,7 @@ fi
312306
-s 13,virtio-rpmb \
313307
-s 10,virtio-hyper_dmabuf \
314308
-s 11,wdt-i6300esb \
315-
$audio_option \
309+
-s 14,passthru,0/e/0,keep_gsi \
316310
-s 23,passthru,0/17/0 \
317311
-s 15,passthru,0/f/0 \
318312
-s 27,passthru,0/1b/0 \
@@ -380,7 +374,7 @@ if [ $launch_type == 6 ]; then
380374
elif [ -f "/data/alios/alios.img" ]; then
381375
launch_type=5;
382376
else
383-
launch_type=1;
377+
launch_type=1;
384378
fi
385379
fi
386380

0 commit comments

Comments
 (0)