MLK-19936-1 : sound: asoc: add support for different sample rates
authorCosmin-Gabriel Samoila <cosmin.samoila@nxp.com>
Mon, 15 Oct 2018 12:16:49 +0000 (15:16 +0300)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commita50a48a46e39a4d166c114ecdce844681d875d6b
tree5872d15eb18a72b41d7be1721b974f6384a5da1f
parent300ba557e147570fda7b0314ab95913c3d0a1190
MLK-19936-1 : sound: asoc: add support for different sample rates

At this moment, using audio_pll1 offers accurate clock for 48KHz only
and audio_pll2 offers accurate clock for 44.1KHz only.
With this patch, we dynamically switch between audio PLL1 and audio
PLL2 to support both 48KHz and 44.1KHZ rates.

Signed-off-by: Cosmin-Gabriel Samoila <cosmin.samoila@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
(cherry picked from commit b7971ed41fd9d230706062638e5262b4658e9b5a)
sound/soc/fsl/fsl_micfil.c
sound/soc/fsl/fsl_micfil.h