[alsa-devel] [PATCH v2] ASOC: wm8960: Add multiple MCLK frequency support

Mark Brown broonie at kernel.org
Thu Dec 14 16:31:39 CET 2017


On Thu, Dec 14, 2017 at 11:56:48AM +0000, Charles Keepax wrote:
> On Wed, Dec 13, 2017 at 08:37:30PM +0800, Chen.Liu wrote:

> > +	if (unsupported)
> > +		snd_soc_update_bits(codec, WM8960_CLOCK1, 0x6,
> > +				WM8960_SYSCLK_DIV_2);
> > +

> Looking at this a bit more I do have some reservations. Firstly
> this divider can be set through wm8960_set_dai_clkdiv, and
> secondly it is also set at the bottom of

Removing set_clkdiv() would be a better thing if there were conflicts
here, in general we're trying to avoid uses of it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20171214/d460220e/attachment-0001.sig>


More information about the Alsa-devel mailing list