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)
commit9203dd016a5d8ffb2eb6acdca60cd0b5dfe38c2b
treec827c3927ec50365e988f6c8934edfb54f279436
parent838d1631b766529213684f07dd71cdf2e92f0623
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]