]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: bcm2835: Support additional samplerates up to 384kHz
authorMatthias Reichl <hias@horus.com>
Wed, 8 Nov 2017 20:03:31 +0000 (21:03 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 10 Nov 2017 21:24:34 +0000 (21:24 +0000)
commitb4ea3f4a527c3efef8c5b72f3b47d2cdd83e12c4
tree79111c702c94b9875382b1732c0e099160bae485
parent57eee554d003022d4064e22dfd672e5763bc140d
ASoC: bcm2835: Support additional samplerates up to 384kHz

Sample rates are only restricted by the capabilities of the
clock driver, so use SNDRV_PCM_RATE_CONTINUOUS instead of
SNDRV_PCM_RATE_8000_192000.

Tests (eg with pcm5122) have shown that bcm2835 works fine
in 384kHz/32bit stereo mode, so change the maximum allowed
rate from 192kHz to 384kHz.

Signed-off-by: Matthias Reichl <hias@horus.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/bcm/bcm2835-i2s.c