public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jerome Brunet <jbrunet@baylibre.com>
To: Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>
Cc: Jerome Brunet <jbrunet@baylibre.com>,
	alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: [PATCH 1/5] ASoC: es7134: remove 64kHz rate from the supported rates
Date: Fri, 29 Jun 2018 17:09:20 +0200	[thread overview]
Message-ID: <20180629150924.18197-2-jbrunet@baylibre.com> (raw)
In-Reply-To: <20180629150924.18197-1-jbrunet@baylibre.com>

64Khz is actually not supported by the es7134 according to the datasheet

Fixes: 9000b59d7a12 ("ASoC: es7134: add es7134 DAC driver")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
 sound/soc/codecs/es7134.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sound/soc/codecs/es7134.c b/sound/soc/codecs/es7134.c
index 58515bb1a303..2fbb49f5b278 100644
--- a/sound/soc/codecs/es7134.c
+++ b/sound/soc/codecs/es7134.c
@@ -48,7 +48,11 @@ static struct snd_soc_dai_driver es7134_dai = {
 		.stream_name = "Playback",
 		.channels_min = 2,
 		.channels_max = 2,
-		.rates = SNDRV_PCM_RATE_8000_192000,
+		.rates = (SNDRV_PCM_RATE_8000_48000 |
+			  SNDRV_PCM_RATE_88200      |
+			  SNDRV_PCM_RATE_96000      |
+			  SNDRV_PCM_RATE_176400     |
+			  SNDRV_PCM_RATE_192000),
 		.formats = (SNDRV_PCM_FMTBIT_S16_LE  |
 			    SNDRV_PCM_FMTBIT_S18_3LE |
 			    SNDRV_PCM_FMTBIT_S20_3LE |
-- 
2.14.4


  reply	other threads:[~2018-06-29 15:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-29 15:09 [PATCH 0/5] ASoC: es7134: driver updates Jerome Brunet
2018-06-29 15:09 ` Jerome Brunet [this message]
2018-07-02 10:09   ` Applied "ASoC: es7134: remove 64kHz rate from the supported rates" to the asoc tree Mark Brown
2018-06-29 15:09 ` [PATCH 2/5] ASoC: es7134: check if mclk rate is valid Jerome Brunet
2018-07-02 10:09   ` Applied "ASoC: es7134: check if mclk rate is valid" to the asoc tree Mark Brown
2018-06-29 15:09 ` [PATCH 3/5] ASoC: es7134: update DT binding with new compatible and supplies Jerome Brunet
2018-07-02 10:04   ` Mark Brown
2018-07-02 10:11     ` Jerome Brunet
2018-06-29 15:09 ` [PATCH 4/5] ASoC: es7134: Add VDD and AVDD power supplies Jerome Brunet
2018-07-02 10:09   ` Applied "ASoC: es7134: Add VDD and AVDD power supplies" to the asoc tree Mark Brown
2018-06-29 15:09 ` [PATCH 5/5] ASoC: es7134: add support for the es7154 Jerome Brunet
2018-07-02 10:05   ` Mark Brown
2018-07-02 10:15     ` Jerome Brunet
2018-07-02 10:21       ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180629150924.18197-2-jbrunet@baylibre.com \
    --to=jbrunet@baylibre.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox