[PATCH v2 0/2] wm8960: Relax bit clock computation

From: Daniel Baluta
Date: Tue Mar 21 2017 - 06:10:04 EST


This patch series allows playing S20_3LE .wav samples with 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.

Changes since v1:
* dropped the RFC tag
* comments in each individual patch

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

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

--
2.7.4