Skip to content

Commit b738c14

Browse files
author
André Apitzsch
committed
DONT MERGE: Set sysclk for arizona wm8998
TODO: Find a more general solution Signed-off-by: André Apitzsch <[email protected]>
1 parent c1109bc commit b738c14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/qcom/apq8016_sbc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ static int apq8016_dai_init(struct snd_soc_pcm_runtime *rtd, int mi2s)
130130

131131
component = codec_dai->component;
132132
/* Set default mclk for internal codec */
133-
rval = snd_soc_component_set_sysclk(component, 0, 0, DEFAULT_MCLK_RATE,
133+
rval = snd_soc_component_set_sysclk(component, codec_dai->id, 0, 12288000,
134134
SND_SOC_CLOCK_IN);
135135
if (rval != 0 && rval != -ENOTSUPP) {
136136
dev_warn(card->dev, "Failed to set mclk: %d\n", rval);

0 commit comments

Comments
 (0)