All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ASoC: codec: wm8960: Relax bit clock computation when using PLL
@ 2017-04-05 13:26 ` Daniel Baluta
  0 siblings, 0 replies; 8+ messages in thread
From: Daniel Baluta @ 2017-04-05 13:26 UTC (permalink / raw)
  To: alsa-devel
  Cc: lgirdwood, broonie, perex, tiwai, linux-kernel, patches, ckeepax,
	shengjiu.wang, viorel.suman, mihai.serban

This is a follow up of commit 3c01b9ee2ab ("ASoC: codec: wm8960: Relax bit clock computation")
where we relaxed bitclk when sysclk was derived from MCLK.

Now, we do the same thing for sysclk derived using PLL.

Changes since v1:
	* fixed "may be used uninitialized" warnings [i strongly believe
	they were compiler false positive - see full warning log here (1)]
	* fixed break for inner loop

[1] http://mailman.alsa-project.org/pipermail/alsa-devel/2017-April/119513.html

Daniel Baluta (2):
  ASoC: codec: wm9860: Refactor PLL out freq search
  ASoC: codec: wm8960: Relax bit clock computation when using PLL

 sound/soc/codecs/wm8960.c | 109 ++++++++++++++++++++++++++++++++++------------
 1 file changed, 80 insertions(+), 29 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [PATCH v2 0/2]  Relax bitclk computation when using PLL
@ 2017-04-26 13:09 Daniel Baluta
  2017-04-26 13:09   ` Daniel Baluta
  0 siblings, 1 reply; 8+ messages in thread
From: Daniel Baluta @ 2017-04-26 13:09 UTC (permalink / raw)
  To: broonie, tiwai, ckeepax, arnd, lgirdwood
  Cc: patches, alsa-devel, linux-kernel, Daniel Baluta

Using strict bitclk requirements we cannot support all promised
rates and formats. For this reason we relax bitclk computation
by choosing the best available bitclk.

First patch in the series is based on Arnd's patch:

http://mailman.alsa-project.org/pipermail/alsa-devel/2017-April/119899.html

Second one does the actual bitclk relaxation.

Daniel Baluta (2):
  ASoC: codec: wm9860: avoid maybe-uninitialized warning
  ASoC: codec: wm8960: Relax bit clock computation when using PLL

 sound/soc/codecs/wm8960.c | 36 +++++++++++++++++++++---------------
 1 file changed, 21 insertions(+), 15 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-04-26 13:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-05 13:26 [PATCH v2 0/2] ASoC: codec: wm8960: Relax bit clock computation when using PLL Daniel Baluta
2017-04-05 13:26 ` Daniel Baluta
2017-04-05 13:26 ` [PATCH v2 1/2] ASoC: codec: wm9860: Refactor PLL out freq search Daniel Baluta
2017-04-05 13:26   ` Daniel Baluta
2017-04-05 13:26 ` [PATCH v2 2/2] ASoC: codec: wm8960: Relax bit clock computation when using PLL Daniel Baluta
2017-04-05 13:26   ` Daniel Baluta
2017-04-26 13:09 [PATCH v2 0/2] Relax bitclk " Daniel Baluta
2017-04-26 13:09 ` [PATCH v2 2/2] ASoC: codec: wm8960: Relax bit clock " Daniel Baluta
2017-04-26 13:09   ` Daniel Baluta

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.