linux-agl: change aloop to a module instead of built-in 70/21770/2
authorScott Murray <scott.murray@konsulko.com>
Thu, 27 Jun 2019 14:10:46 +0000 (10:10 -0400)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 27 Jun 2019 21:00:59 +0000 (21:00 +0000)
Rename the 4a-sound.cfg fragment to the more generic sound.cfg, and
change CONFIG_SND_ALOOP to module, not built-in.  This still keeps it
available if something ends up needing it.

Bug-AGL: SPEC-2555

Change-Id: Ib0554800dc704d19b48a7e041d4f2b60a1b42192
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
meta-agl-bsp/recipes-kernel/linux/linux-agl.inc
meta-agl-bsp/recipes-kernel/linux/linux/sound.cfg [moved from meta-agl-bsp/recipes-kernel/linux/linux/4a-sound.cfg with 85% similarity]

index 72b8b80..e8be23c 100644 (file)
@@ -80,9 +80,9 @@ KERNEL_CONFIG_FRAGMENTS_append_with-lsm-smack = "\
        ${WORKDIR}/smack-default-lsm.cfg \
 "
 
-# snd-aloop support for 4a
-SRC_URI_append = " file://4a-sound.cfg"
-KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/4a-sound.cfg"
+# ALSA support and other sound related configuration
+SRC_URI_append = " file://sound.cfg"
+KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/sound.cfg"
 
 # iio-dummy-device support for test iiodevice
 SRC_URI_append = " file://iiodevice.cfg"
@@ -2,6 +2,6 @@ CONFIG_SOUND=y
 CONFIG_SND=y
 CONFIG_SND_TIMER=y
 CONFIG_SND_PCM=y
-CONFIG_SND_ALOOP=y
 CONFIG_SND_DYNAMIC_MINORS=y
 CONFIG_SND_MAX_CARDS=32
+CONFIG_SND_ALOOP=m