ASoC: Remove needless codec->bias_level assignment to SND_SOC_BIAS_OFF
This assignment is done by the snd_soc_register_codec so there is no need to redo it in probe function of a codec driver. Signed-off-by: Jarkko Nikula <jhnikula@gmail.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:

zatwierdzone przez
Mark Brown

rodzic
12280faea6
commit
c6d5cca0a0
@@ -560,7 +560,6 @@ static int ssm2602_probe(struct snd_soc_codec *codec)
|
||||
|
||||
pr_info("ssm2602 Audio Codec %s", SSM2602_VERSION);
|
||||
|
||||
codec->bias_level = SND_SOC_BIAS_OFF,
|
||||
codec->control_data = ssm2602->control_data;
|
||||
|
||||
ssm2602_reset(codec);
|
||||
|
Reference in New Issue
Block a user