alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] wm8960: Relax bit clock computation
@ 2017-03-15 15:33 Daniel Baluta
  2017-03-15 15:33 ` [RFC PATCH 1/2] ASoC: codec: wm8960: Refactor sysclk freq search Daniel Baluta
  2017-03-15 15:33 ` [RFC PATCH 2/2] ASoC: codec: wm8960: Relax bit clock computation Daniel Baluta
  0 siblings, 2 replies; 7+ messages in thread
From: Daniel Baluta @ 2017-03-15 15:33 UTC (permalink / raw)
  To: lgirdwood, broonie, tiwai
  Cc: shengjiu.wang, patches, alsa-devel, linux-kernel, viorel.suman,
	mihai.serban, ckeepax

This patch series allows running S20_3LE encoded samples on wm8960 codec.

First patch does a small refactoring of sysclk frequency search because
wm8960_configure_sysclk was getting pretty convoluted.

The second patch allows relaxing bitclock computation in the way that
if an exact bitclk couldn't be derived from sysclk it chooses the
smalles available bitclk greater than the desired bitclk.

For a better reviewing experience you can checked the squashed version
of this patches here:

http://pastebin.com/gBJ3DBSu

Note that this is a follow up of:

"ASoC: wm8960: Use physical width for bclk"

discussion archived here:

http://mailman.alsa-project.org/pipermail/alsa-devel/2017-March/118735.html

Daniel Baluta (2):
  ASoC: codec: wm8960: Refactor sysclk freq search
  ASoC: codec: wm8960: Relax bit clock computation

 sound/soc/codecs/wm8960.c | 113 +++++++++++++++++++++++++++++++++++++---------
 1 file changed, 91 insertions(+), 22 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2017-03-16  9:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-15 15:33 [RFC PATCH 0/2] wm8960: Relax bit clock computation Daniel Baluta
2017-03-15 15:33 ` [RFC PATCH 1/2] ASoC: codec: wm8960: Refactor sysclk freq search Daniel Baluta
2017-03-15 16:22   ` Charles Keepax
2017-03-16  8:49     ` Daniel Baluta
2017-03-15 15:33 ` [RFC PATCH 2/2] ASoC: codec: wm8960: Relax bit clock computation Daniel Baluta
2017-03-15 17:17   ` Charles Keepax
2017-03-16  9:34     ` Daniel Baluta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).