Partial apply: audio: coveriy fix [1/1]

Change-Id: I1ddf7c7181575217f2f5c0b81a6de3f438e1c923
This commit is contained in:
Luke Go
2020-06-22 15:30:43 +09:00
parent 58e194a7f8
commit bcf0b9a19b

View File

@@ -1087,9 +1087,7 @@ static int tas5805m_probe(struct snd_soc_codec *codec)
if (ret != 0)
goto err;
if (tas5805m)
tas5805m_set_volume(codec, tas5805m->vol);
tas5805m_set_volume(codec, tas5805m->vol);
snd_soc_add_codec_controls(codec, tas5805m_vol_control,
ARRAY_SIZE(tas5805m_vol_control));
tas5805m->codec = codec;