1. 28 Jun, 2019 17 commits
  2. 26 Jun, 2019 5 commits
  3. 25 Jun, 2019 17 commits
  4. 24 Jun, 2019 1 commit
    • Enric Balletbo i Serra's avatar
      ASoC: rk3399_gru_sound: Support 32, 44.1 and 88.2 kHz sample rates · 30b233b1
      Enric Balletbo i Serra authored
      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 fdf34366 ("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: default avatarEnric Balletbo i Serra <enric.balletbo@collabora.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      30b233b1