From de14450d0684d7df6350e8bc8689b04cfc5c1e10 Mon Sep 17 00:00:00 2001 From: Alistair Strachan Date: Tue, 5 Mar 2019 11:11:34 -0800 Subject: [PATCH] ANDROID: cuttlefish_defconfig: Add support for AC97 audio Enable driver support for the ac97 emulation provided by QEMU and crosvm. This is for the older 'ac97' soundhw, not 'hda'. Bug: 120439617 Bug: 126955561 Test: local build and test of sound from cuttlefish Change-Id: I6c29e352e0be161e2a1dc35fde50b888b7dbf86e Signed-off-by: Alistair Strachan --- arch/arm64/configs/cuttlefish_defconfig | 6 ++++++ arch/x86/configs/x86_64_cuttlefish_defconfig | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/arch/arm64/configs/cuttlefish_defconfig b/arch/arm64/configs/cuttlefish_defconfig index 09b07573dc66..9740f417f74e 100644 --- a/arch/arm64/configs/cuttlefish_defconfig +++ b/arch/arm64/configs/cuttlefish_defconfig @@ -300,6 +300,12 @@ CONFIG_DRM=y CONFIG_DRM_VIRTIO_GPU=y CONFIG_SOUND=y CONFIG_SND=y +CONFIG_SND_HRTIMER=y +# CONFIG_SND_SUPPORT_OLD_API is not set +# CONFIG_SND_VERBOSE_PROCFS is not set +# CONFIG_SND_DRIVERS is not set +CONFIG_SND_INTEL8X0=y +# CONFIG_SND_USB is not set CONFIG_HIDRAW=y CONFIG_UHID=y CONFIG_HID_A4TECH=y diff --git a/arch/x86/configs/x86_64_cuttlefish_defconfig b/arch/x86/configs/x86_64_cuttlefish_defconfig index de163e79ee0a..cef416b3a97d 100644 --- a/arch/x86/configs/x86_64_cuttlefish_defconfig +++ b/arch/x86/configs/x86_64_cuttlefish_defconfig @@ -312,6 +312,12 @@ CONFIG_DRM=y CONFIG_DRM_VIRTIO_GPU=y CONFIG_SOUND=y CONFIG_SND=y +CONFIG_SND_HRTIMER=y +# CONFIG_SND_SUPPORT_OLD_API is not set +# CONFIG_SND_VERBOSE_PROCFS is not set +# CONFIG_SND_DRIVERS is not set +CONFIG_SND_INTEL8X0=y +# CONFIG_SND_USB is not set CONFIG_HIDRAW=y CONFIG_UHID=y CONFIG_HID_A4TECH=y