[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160831221402.670ab832@scratchpost.org>
Date: Wed, 31 Aug 2016 22:14:02 +0200
From: Danny Milosavljevic <dannym@...atchpost.org>
To: Maxime Ripard <maxime.ripard@...e-electrons.com>
Cc: Mark Brown <broonie@...nel.org>, Chen-Yu Tsai <wens@...e.org>,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
alsa-devel@...a-project.org, Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Liam Girdwood <lgirdwood@...il.com>,
linux-sunxi@...glegroups.com
Subject: Re: [linux-sunxi] Re: [PATCH v9 1/2] ASoC: sun4i-codec: Distinguish
sun4i from sun7i
Hi Maxime,
On Wed, 31 Aug 2016 19:46:23 +0200
Maxime Ripard <maxime.ripard@...e-electrons.com> wrote:
> > -#define SUN4I_CODEC_AC_SYS_VERI (0x38)
> > -#define SUN4I_CODEC_AC_MIC_PHONE_CAL (0x3c)
> > +
> > +#define SUN7I_CODEC_AC_DAC_CAL (0x38)
> > +#define SUN7I_CODEC_AC_MIC_PHONE_CAL (0x3c)
>
> That will need at least some mention in the commit log.
Hm? It's now called like it is called in the user manual.
Also, the macro SUN4I_CODEC_AC_SYS_VERI was unused before anyway.
What should I write in the commit log?
> It would be better to add a structure assiocated to the data field of
> of_device_id. That way, you'll also be able to have any quirks without
> adding more checks (such as a different regmap config, like Chen-Yu
> suggested).
Yeah, I did that now; seems to work.
Cheers,
Danny
Powered by blists - more mailing lists