[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140313212055.GN366@sirena.org.uk>
Date: Thu, 13 Mar 2014 21:20:55 +0000
From: Mark Brown <broonie@...nel.org>
To: Nicolin Chen <Guangyu.Chen@...escale.com>
Cc: Jyri Sarha <jsarha@...com>, mark.rutland@....com,
devicetree@...r.kernel.org, alsa-devel@...a-project.org,
kuninori.morimoto.gx@...esas.com, pawel.moll@....com,
ijc+devicetree@...lion.org.uk, Li.Xiubo@...escale.com,
linux-doc@...r.kernel.org, lgirdwood@...il.com,
linux-kernel@...r.kernel.org, robh+dt@...nel.org, rob@...dley.net,
galak@...eaurora.org, moinejf@...e.fr
Subject: Re: [alsa-devel] [PATCH v2] ASoC: simple-card: overwrite
cpu_dai->fmt with codec_dai->fmt
On Wed, Mar 12, 2014 at 05:33:54PM +0800, Nicolin Chen wrote:
> I'm not sure if there's any defect from this idea, but as long as we
> keep DAIFMT settings identical for both dai-link ends, it'll be a
> neater way.
> So I'd like to pend this patch and wait for further solution from that
> topic.
My understanding of the binding had been that exactly one of the devices
on the link would have each master flag set and the code was parsing
both devices together in order to come up with the setting. Obviously I
didn't check the code closely enough here. It seems that the Renesas
devices actually do this, though just due to a bug in the master/slave
handling. The patch you posted would essentially implement that
(without validating the settings on the CPU side, but that could be
added).
The above suggestion would also work though it *is* a change in the
binding and right now we don't have code for it. We need something here
very soon, the merge window is going to open shortly and we ought to
avoid having the problematic code in v3.15 if we can - indeed I'd really
prefer to get something into v3.14 if possible (though this patch
doesn't apply cleanly there and it's *very* late).
Thoughts?
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists