From a895cea2010eadf42bcb107dcebd9115aa5b476e 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: 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 a392362656db..126e37bd83a3 100644 --- a/arch/arm64/configs/cuttlefish_defconfig +++ b/arch/arm64/configs/cuttlefish_defconfig @@ -301,6 +301,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 6d074172fc13..bf11919d50ee 100644 --- a/arch/x86/configs/x86_64_cuttlefish_defconfig +++ b/arch/x86/configs/x86_64_cuttlefish_defconfig @@ -318,6 +318,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