public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Lothar Waßmann" <LW@KARO-electronics.de>
To: Nicolin Chen <nicoleotsuka@gmail.com>
Cc: Mark Brown <broonie@kernel.org>, Arnd Bergmann <arnd@arndb.de>,
	Fabio Estevam <fabio.estevam@freescale.com>,
	Jaroslav Kysela <perex@perex.cz>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Takashi Iwai <tiwai@suse.com>,
	alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ASoC: fsl: select SND_SOC_FSL_SAI or SND_SOC_FSL_SSI depending on SoC type
Date: Fri, 29 Jan 2016 10:43:34 +0100	[thread overview]
Message-ID: <20160129104334.28fb1643@ipc1.ka-ro> (raw)
In-Reply-To: <20160129063012.GB3370@Asurada-CZ80>

Hi,

On Thu, 28 Jan 2016 22:30:13 -0800 Nicolin Chen wrote:
> On Fri, Jan 29, 2016 at 06:59:38AM +0100, Lothar Waßmann wrote:
> > Hi,
> > 
> > On Thu, 28 Jan 2016 23:33:52 +0100 Mark Brown wrote:
> > > On Wed, Jan 20, 2016 at 01:30:38PM +0100, Lothar Waßmann wrote:
> > > 
> > > > -	select SND_SOC_FSL_SSI
> > > > +	select SND_SOC_FSL_SAI if SOC_IMX6UL
> > > > +	select SND_SOC_FSL_SSI if SOC_IMX6Q || SOC_IMX6SL || SOC_IMX6SX
> > > 
> > > Does this card not work for older i.MXs (which had the same SSI/AUDMUX
> > > combination as the majority of the i.MX6 family) as well?
> > >
> > Our baseboard contains an SGTL5000 codec which is working with
> > i.MX25, i.MX27, i.MX5, i.MX6Q, i.MX6DL with the fsl_ssi and imx-sgtl5000
> > + imx-audmux driver, on i.MX28 with the mxs-saif and mxs-sgtl5000 driver
> > and on i.MX6UL with the fsl_sai + simple-card driver.
> 
> Have you tried fsl-asoc-card to connect SSI/SAI with sgtl5000? If it
> works for you directly, I believe things should be easier for you
> instead of dealing with Kconfig.
>
My patch simply selects the FSL_SAI instead of the FSL_SSI interface for
i.MX6UL since the latter is NOT AVAILABLE on i.MX6UL and thus it doesn't
make any sense to select it on this SoC.

But maybe the select statements should be removed altogether since they
are a case of the frowned-upon "select for user visible symbols".


Lothar Waßmann

  reply	other threads:[~2016-01-29  9:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-20 12:30 [PATCH] ASoC: fsl: select SND_SOC_FSL_SAI or SND_SOC_FSL_SSI depending on SoC type Lothar Waßmann
2016-01-28 22:33 ` Mark Brown
2016-01-28 23:08   ` Nicolin Chen
2016-01-29  5:51     ` Lothar Waßmann
2016-01-29  6:25       ` Nicolin Chen
2016-01-29 11:33         ` Lothar Waßmann
2016-01-29  5:59   ` Lothar Waßmann
2016-01-29  6:30     ` Nicolin Chen
2016-01-29  9:43       ` Lothar Waßmann [this message]
2016-01-29 11:16     ` 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=20160129104334.28fb1643@ipc1.ka-ro \
    --to=lw@karo-electronics.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=arnd@arndb.de \
    --cc=broonie@kernel.org \
    --cc=fabio.estevam@freescale.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nicoleotsuka@gmail.com \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.com \
    /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