]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: pcm: add IEC958 channel status helper
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 9 May 2015 10:26:47 +0000 (11:26 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 22 May 2015 14:01:47 +0000 (16:01 +0200)
commit3597b466a701fc8b83b5214b867aabb4f4f7b344
treec827c3927ec50365e988f6c8934edfb54f279436
parentfaab2476cc47a37b07ea8d98cfe0c439380d218c
ALSA: pcm: add IEC958 channel status helper

Add a helper to create the IEC958 channel status from an ALSA
snd_pcm_runtime structure, taking account of the sample rate and
sample size.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Reviwed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/pcm_iec958.h [new file with mode: 0644]
sound/core/Kconfig
sound/core/Makefile
sound/core/pcm_iec958.c [new file with mode: 0644]