[source] kernel: add SND_PCM_TIMER to kmod-sound-core

LEDE Commits lede-commits at lists.infradead.org
Sat Nov 5 14:04:54 PDT 2016


mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/2ab6aaca4dfe1265006dae3f3cd0fd838f9bf2af

commit 2ab6aaca4dfe1265006dae3f3cd0fd838f9bf2af
Author: Dmitry Sutyagin <f3flight at gmail.com>
AuthorDate: Sat Nov 5 13:54:12 2016 -0700

    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 <f3flight at gmail.com>
---
 package/kernel/linux/modules/sound.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/kernel/linux/modules/sound.mk b/package/kernel/linux/modules/sound.mk
index 1a2d4f6..71765ed 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 \



More information about the lede-commits mailing list