From: Dmitry Sutyagin Date: Sat, 5 Nov 2016 20:54:12 +0000 (-0700) Subject: kernel: add SND_PCM_TIMER to kmod-sound-core X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2ab6aaca4dfe1265006dae3f3cd0fd838f9bf2af;p=openwrt%2Fstaging%2Fkaloz.git kernel: add SND_PCM_TIMER to kmod-sound-core FS#256 Fix audio not working due to unset SND_PCM_TIMER. CONFIG_SND_PCM_TIMER is required for ALSA to work (at least for some audio devices), otherwise applications using sound may fail. Can be reproduced by installing "alsa-utils-tests" and running "speaker-test": ... ALSA lib pcm_direct.c:1159:(snd1_pcm_direct_initialize_poll_fd) unable to open timer 'hw:CLASS=3,SCLASS=0,CARD=0,DEV=0,SUBDEV=0' ALSA lib pcm_dmix.c:1106:(snd_pcm_dmix_open) unable to initialize poll_fd Playback open error: -19,No such device The kernel size does not increase, only the size of the kernel module increases. Signed-off-by: Dmitry Sutyagin --- diff --git a/package/kernel/linux/modules/sound.mk b/package/kernel/linux/modules/sound.mk index 1a2d4f6d32..71765ed293 100644 --- a/package/kernel/linux/modules/sound.mk +++ b/package/kernel/linux/modules/sound.mk @@ -49,6 +49,7 @@ define KernelPackage/sound-core CONFIG_SND_RAWMIDI \ CONFIG_SND_TIMER \ CONFIG_SND_PCM \ + CONFIG_SND_PCM_TIMER \ CONFIG_SND_SEQUENCER \ CONFIG_SND_VIRMIDI \ CONFIG_SND_SEQ_DUMMY \