summaryrefslogtreecommitdiffstats
path: root/kernel/sys.c
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2014-12-09 00:10:42 +0900
committerTakashi Iwai <tiwai@suse.de>2014-12-10 10:47:37 +0100
commit5cd1d3f47a6321612a51ab88ffe8ef65120fcbe0 (patch)
treef2f537e9ec9185754441c37f7896788a76795312 /kernel/sys.c
parent5b59d8098d2a3fa8ea4ad07b96f62c00c3b3e8d3 (diff)
downloadlinux-5cd1d3f47a6321612a51ab88ffe8ef65120fcbe0.tar.bz2
ALSA: oxfw: Change the way to make PCM rules/constraints
In previous commit, this driver can get to know stream formations at each supported sampling rates. This commit uses it to make PCM rules/constraints and obsoletes hard-coded rules/constraints. For this purpose, this commit adds 'struct snd_oxfw_stream_formation' and snd_oxfw_stream_parse_format() to parse data channel formation of data block. According to datasheet of OXFW970/971, they support 32.0kHz to 196.0kHz. As long as developers investigate, some devices are confirmed to have several formats for the same sampling rate. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Acked-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions