From: Takashi Iwai <tiwai@suse.de>
To: Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org,
Pan Xiuli <xiuli.pan@linux.intel.com>,
Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>,
Liam Girdwood <liam.r.girdwood@linux.intel.com>,
Kirill Marinushkin <k.marinushkin@gmail.com>
Subject: Re: [PATCH, alsa-lib] ASoC: topology: Fix bclk and fsync inversion in set_link_hw_format()
Date: Wed, 28 Feb 2018 16:29:30 +0100 [thread overview]
Message-ID: <s5h7eqxm8th.wl-tiwai@suse.de> (raw)
In-Reply-To: <20180228152403.GB6722@sirena.org.uk>
On Wed, 28 Feb 2018 16:24:03 +0100,
Mark Brown wrote:
>
> On Tue, Feb 27, 2018 at 09:35:41PM +0100, Kirill Marinushkin wrote:
> > The values of bclk and fsync are inverted WRT the codec. But the existing
> > solution already works for Broadwell, see the alsa-lib config:
>
> You should include Jaroslav and Takashi when sending alsa-lib patches.
Yep, please at the next time.
(And, don't stick with an old thread, but refresh a new thread.)
>
> > + /* For backwards capability,
> > + * "master" == "codec is slave"
> > + */
> > + if (!strcmp(val, "master") ||
> > + !strcmp(val, "codec_slave"))
> > + hw_cfg->fsync_master = SND_SOC_TPLG_FSYNC_CS;
> > + else if (!strcmp(val, "codec_master"))
> > + hw_cfg->fsync_master = SND_SOC_TPLG_FSYNC_CM;
>
> Should we warn on use of "master" since it's being deprecated here (and
> might be confusing for users)?
Maybe. OTOH, it looks fully backward-compatible, so far, so it's not
that confusing yet.
thanks,
Takashi
next prev parent reply other threads:[~2018-02-28 15:29 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-22 22:01 [FIX][PATCH] ASoC: topology: Fix logical inversion in set_link_hw_format() Xiuli Pan
2018-02-26 11:17 ` Applied "ASoC: topology: Fix logical inversion in set_link_hw_format()" to the asoc tree Mark Brown
2018-02-26 18:34 ` Kirill Marinushkin
2018-02-26 19:47 ` Mark Brown
2018-02-27 4:38 ` Kirill Marinushkin
2018-02-27 2:30 ` [alsa-devel] " Pierre-Louis Bossart
2018-02-27 4:50 ` Kirill Marinushkin
2018-02-27 10:38 ` Mark Brown
2018-02-27 15:13 ` Pierre-Louis Bossart
2018-02-27 15:57 ` Mark Brown
2018-02-27 20:33 ` [PATCH 0/1] " Kirill Marinushkin
2018-02-27 20:33 ` [PATCH 1/1] ASoC: topology: Fix bclk and fsync inversion in set_link_hw_format() Kirill Marinushkin
2018-02-27 20:35 ` [PATCH, alsa-lib] " Kirill Marinushkin
2018-02-28 15:24 ` Mark Brown
2018-02-28 15:29 ` Takashi Iwai [this message]
2018-02-28 15:59 ` Mark Brown
2018-02-28 20:07 ` Kirill Marinushkin
2018-02-28 21:27 ` Takashi Iwai
2018-03-01 6:03 ` Pan, Xiuli
2018-03-02 5:44 ` Kirill Marinushkin
2018-04-16 17:15 ` Applied "ASoC: topology: Fix bclk and fsync inversion in set_link_hw_format()" to the asoc tree Mark Brown
2018-02-28 6:31 ` [alsa-devel] [PATCH 0/1] Re: Applied "ASoC: topology: Fix logical " Pierre-Louis Bossart
2018-02-28 6:22 ` Pierre-Louis Bossart
2018-03-12 16:14 ` Mark Brown
2018-03-12 23:29 ` [alsa-devel] " Pierre-Louis Bossart
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=s5h7eqxm8th.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=k.marinushkin@gmail.com \
--cc=liam.r.girdwood@linux.intel.com \
--cc=pierre-louis.bossart@linux.intel.com \
--cc=xiuli.pan@linux.intel.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