[alsa-devel] [RFC PATCH 0/2] wm8960: Relax bit clock computation

Daniel Baluta daniel.baluta at nxp.com
Wed Mar 15 16:33:04 CET 2017


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



More information about the Alsa-devel mailing list