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 v2: * do not differentiate between relaxed and exact match
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 | 90 +++++++++++++++++++++++++++++++++++++---------- 1 file changed, 71 insertions(+), 19 deletions(-)