linux_dsm_epyc7002/sound/soc/rockchip
Enric Balletbo i Serra 30b233b1cb
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 fdf34366d3 ("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>
2019-06-24 17:24:25 +01:00
..
Kconfig ASoC: rockchip: pdm: select CONFIG_RATIONAL 2019-06-17 13:35:21 +01:00
Makefile ASoC: rockchip: add config for rockchip dmaengine pcm register 2018-06-18 12:54:38 +01:00
rk3288_hdmi_analog.c ASoC: rockchip: rk3288_hdmi_analog: don't select unnecessary Platform 2019-06-19 12:53:04 +01:00
rk3399_gru_sound.c ASoC: rk3399_gru_sound: Support 32, 44.1 and 88.2 kHz sample rates 2019-06-24 17:24:25 +01:00
rockchip_i2s.c ASoC: rockchip: add config for rockchip dmaengine pcm register 2018-06-18 12:54:38 +01:00
rockchip_i2s.h ASoC: rockchip: i2s: add other configurable formats 2017-06-13 21:47:40 +01:00
rockchip_max98090.c ASoC: rockchip: rockchip_max98090: don't select unnecessary Platform 2019-06-19 12:53:22 +01:00
rockchip_pcm.c ASoC: rockchip: add missing slave_config setting for I2S 2018-11-13 10:06:23 -08:00
rockchip_pcm.h ASoC: rockchip: add config for rockchip dmaengine pcm register 2018-06-18 12:54:38 +01:00
rockchip_pdm.c ASoC: rockchip: Fix an uninitialized variable compile warning 2019-05-07 11:24:19 +09:00
rockchip_pdm.h ASoC: rockchip: pdm: fixup pdm fractional div 2019-04-04 15:08:41 +07:00
rockchip_rt5645.c ASoC: rockchip: rockchip_rt5645: don't select unnecessary Platform 2019-06-19 12:53:41 +01:00
rockchip_spdif.c ASoC: rockchip: disable clock on error 2017-12-06 15:25:48 +00:00
rockchip_spdif.h Merge remote-tracking branches 'asoc/fix/davinci', 'asoc/fix/es8328', 'asoc/fix/fsl-sai', 'asoc/fix/rockchip', 'asoc/fix/sgtl5000' and 'asoc/fix/wm8974' into asoc-linus 2015-12-23 00:23:27 +00:00