]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ALSA: pcm: add IEC958 channel status helper for hw_params
authorJyri Sarha <jsarha@ti.com>
Fri, 18 Sep 2015 11:06:39 +0000 (14:06 +0300)
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 14 Jan 2016 11:51:04 +0000 (11:51 +0000)
commit0e6affa4a22c7aa661fb8087705035f2b8ae2939
tree604f770140bdd6ac1b38a5ee8e3b52d167b76519
parent5c80eaf4114afcaeed9bd4870de62875a43502a1
ALSA: pcm: add IEC958 channel status helper for hw_params

Add IEC958 channel status helper that gets the audio properties from
snd_pcm_hw_params instead of snd_pcm_runtime. This is needed to
produce the channel status bits already in audio stream configuration
phase.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
include/sound/pcm_iec958.h
sound/core/pcm_iec958.c