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)
commit4cc4531c310e592cf624148ae59c64f930f12e39
tree2f329be7913a340af470cdc2dcd92f4d9a7eb7be
parent2c650fd5a53beace2e7507f478562f0dd1885b89
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