diff options
author | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2019-06-21 17:58:08 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-06-24 17:24:25 +0100 |
commit | 30b233b1cb4291d39ca08a95566721e8a52e5ee3 (patch) | |
tree | 6c5b608c02ece7fafab8d6e5573bcb1ee9c6b8bd /include/sound/hda_codec.h | |
parent | b9f2e25c599bbbf0646957e07ebb72b942c286cc (diff) | |
download | linux-30b233b1cb4291d39ca08a95566721e8a52e5ee3.tar.bz2 |
ASoC: rk3399_gru_sound: Support 32, 44.1 and 88.2 kHz sample rates
According to the datasheet the max98357a also supports 32, 44.1 and
88.2 kHz sample rate. This support was also introduced recently by
commit fdf34366d324 ("ASoC: max98357a: add missing supported rates").
Actually the machine driver validates the supported sample rates but
this is not really needed because the component driver can all apply
whatever constraints are needed and do their own validation. So, remove
the checks from the machine driver as are not needed at all. This way,
we also support 32, 44.1 and 88.2 kHz sample rates and we get rid of the
errors like the below.
rk3399-gru-sound sound: rockchip_sound_max98357a_hw_params() doesn't support this sample rate: 44100
rk3399-gru-sound sound: ASoC: machine hw_params failed: -22
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/hda_codec.h')
0 files changed, 0 insertions, 0 deletions