Skip to content

Commit 88f60cb

Browse files
morimotobroonie
authored andcommitted
ASoC: samsung: bell: don't set dapm->bias_level directly
snd_soc_dapm_set_bias_level() (A) will set dapm->bias_level (a) inside. No need to set it by each callback function. Remove it. (A) static int snd_soc_dapm_set_bias_level(...) { ... /* success */ if (ret == 0) (a) snd_soc_dapm_init_bias_level(dapm, level); ... } Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://patch.msgid.link/87ple74g47.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent f40ecc2 commit 88f60cb

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

sound/soc/samsung/bells.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,6 @@ static int bells_set_bias_level_post(struct snd_soc_card *card,
133133
break;
134134
}
135135

136-
dapm->bias_level = level;
137-
138136
return 0;
139137
}
140138

0 commit comments

Comments
 (0)