ASoC: fsl-asoc-card: use integer type for fll_id and pll_id
authorShengjiu Wang <shengjiu.wang@nxp.com>
Wed, 20 Sep 2023 09:43:12 +0000 (17:43 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 26 Sep 2023 09:23:25 +0000 (11:23 +0200)
commit2b21207afd06714986a3d22442ed4860ba4f9ced
tree04c06c312819db0060d7969ade1b449b355c5ae5
parent197c53c8ecb34f2cd5922f4bdcffa8f701a134eb
ASoC: fsl-asoc-card: use integer type for fll_id and pll_id

As the pll_id and pll_id can be zero (WM8960_SYSCLK_AUTO)
with the commit 2bbc2df46e67 ("ASoC: wm8960: Make automatic the
default clocking mode")

Then the machine driver will skip to call set_sysclk() and set_pll()
for codec, when the sysclk rate is different with what wm8960 read
at probe, the output sound frequency is wrong.

So change the fll_id and pll_id initial value, still keep machine
driver's behavior same as before.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1695202992-24864-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl-asoc-card.c