[RCAR] adjust asound.state for new Cogent BSP 3.21/YP3.1 60/24760/7
authorRonan Le Martret <ronan.lemartret@iot.bzh>
Thu, 11 Jun 2020 15:57:04 +0000 (17:57 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 30 Jun 2020 08:33:54 +0000 (08:33 +0000)
The meta-rcar has a patch that change the name of the sound card.
Reintroduce the Cogent layer "meta-rcar" into AGL mean adjust the sound card name.

Bug-AGL: SPEC-3463
Change-Id: I4ff025752314fdbebbdae39c66280943304daefc
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24760
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
meta-agl-bsp/meta-rcar-gen3-adas/recipes-bsp/alsa-state/alsa-state.bbappend [new file with mode: 0644]

diff --git a/meta-agl-bsp/meta-rcar-gen3-adas/recipes-bsp/alsa-state/alsa-state.bbappend b/meta-agl-bsp/meta-rcar-gen3-adas/recipes-bsp/alsa-state/alsa-state.bbappend
new file mode 100644 (file)
index 0000000..4cb3a21
--- /dev/null
@@ -0,0 +1,3 @@
+do_configure_append () {
+       sed -i 's/state.rcarsound\ {/state.ak4613\ {/g' ${WORKDIR}/asound.state
+}