]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: pcm: add support for 352.8KHz and 384KHz sample rate
authorVidyakumar Athota <vathota@codeaurora.org>
Thu, 22 Aug 2019 09:56:50 +0000 (10:56 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 28 Aug 2019 10:53:49 +0000 (11:53 +0100)
commit52b2c1f5089592432fb76cd430c2dbe5b925d413
tree2f329be7913a340af470cdc2dcd92f4d9a7eb7be
parent4cfcb6880d8ad1a178de28f065d6ca262d6e4a53
ALSA: pcm: add support for 352.8KHz and 384KHz sample rate

Most of the modern codecs supports 352.8KHz and 384KHz sample rates.
Currenlty HW params fails to set 352.8Kz and 384KHz sample rate
as these are not in known rates list.
Add these new rates to known list to allow them.

This patch also adds defines in pcm.h so that drivers can use it.

Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20190822095653.7200-2-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/pcm.h
sound/core/pcm_native.c