From 4e9fbbf23024d75fcf5261b82b67e1028d1994d8 Mon Sep 17 00:00:00 2001 From: Matt Porter Date: Thu, 30 Nov 2017 18:01:56 -0500 Subject: meta-agl-bsp: move usbaudio.cfg to linux-agl.inc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit USB audio should be enabled for all AGL BSPs. Move the usbaudio.cfg from the Renesas BSP bbappend (it's actually not even used there as the fragment is not being appended) to linux-agl.inc and append it. Bug-AGL: SPEC-1148 Change-Id: I219d0d0355a4d57f883086631e07f3d191be2975 Signed-off-by: Matt Porter Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12253 Reviewed-by: Thomas Rini Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account Reviewed-by: Stéphane Desneux Reviewed-by: Jan-Simon Moeller --- .../meta-renesas/recipes-kernel/linux/linux-renesas_%.bbappend | 1 - meta-agl-bsp/meta-renesas/recipes-kernel/linux/linux/usbaudio.cfg | 2 -- meta-agl-bsp/recipes-kernel/linux/linux-agl.inc | 3 +++ meta-agl-bsp/recipes-kernel/linux/linux/usbaudio.cfg | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) delete mode 100755 meta-agl-bsp/meta-renesas/recipes-kernel/linux/linux/usbaudio.cfg create mode 100755 meta-agl-bsp/recipes-kernel/linux/linux/usbaudio.cfg diff --git a/meta-agl-bsp/meta-renesas/recipes-kernel/linux/linux-renesas_%.bbappend b/meta-agl-bsp/meta-renesas/recipes-kernel/linux/linux-renesas_%.bbappend index 8776a847c..ee4d25f56 100755 --- a/meta-agl-bsp/meta-renesas/recipes-kernel/linux/linux-renesas_%.bbappend +++ b/meta-agl-bsp/meta-renesas/recipes-kernel/linux/linux-renesas_%.bbappend @@ -6,7 +6,6 @@ SRC_URI += " file://disable_delay_printk.patch \ file://cfg_mac_80211.cfg \ file://ath9k_htc.cfg \ file://rtl_sdr.cfg \ - file://usbaudio.cfg \ file://ra2x00.cfg \ file://0001-media-r820t-do-not-double-free-fe-tuner_priv-in-r820.patch \ file://0002-media-r820t-remove-redundant-initializations-in-r820.patch \ diff --git a/meta-agl-bsp/meta-renesas/recipes-kernel/linux/linux/usbaudio.cfg b/meta-agl-bsp/meta-renesas/recipes-kernel/linux/linux/usbaudio.cfg deleted file mode 100755 index 5961f43d3..000000000 --- a/meta-agl-bsp/meta-renesas/recipes-kernel/linux/linux/usbaudio.cfg +++ /dev/null @@ -1,2 +0,0 @@ -CONFIG_SND_USB=y -CONFIG_SND_USB_AUDIO=y diff --git a/meta-agl-bsp/recipes-kernel/linux/linux-agl.inc b/meta-agl-bsp/recipes-kernel/linux/linux-agl.inc index b9d199c45..db37ab2f5 100644 --- a/meta-agl-bsp/recipes-kernel/linux/linux-agl.inc +++ b/meta-agl-bsp/recipes-kernel/linux/linux-agl.inc @@ -29,6 +29,7 @@ SRC_URI_append = "\ file://hid.cfg \ file://drm.cfg \ file://btusb.cfg \ + file://usbaudio.cfg \ " KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/can-bus.cfg" # Enable support for usb video class for usb camera devices @@ -42,6 +43,8 @@ KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/hid.cfg" KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/drm.cfg" # Enable Bluetooth USB devices KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/btusb.cfg" +# Enable USB audio devices +KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/usbaudio.cfg" # Enable required features for the agl-netboot feature SRC_URI_append_netboot = " file://nbd.cfg \ diff --git a/meta-agl-bsp/recipes-kernel/linux/linux/usbaudio.cfg b/meta-agl-bsp/recipes-kernel/linux/linux/usbaudio.cfg new file mode 100755 index 000000000..5961f43d3 --- /dev/null +++ b/meta-agl-bsp/recipes-kernel/linux/linux/usbaudio.cfg @@ -0,0 +1,2 @@ +CONFIG_SND_USB=y +CONFIG_SND_USB_AUDIO=y -- cgit 1.2.3-korg