ASoC: sigmadsp: Simplify with snd_ctl_activate_id()
authorTakashi Iwai <tiwai@suse.de>
Tue, 18 Jul 2023 14:12:59 +0000 (16:12 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 20 Jul 2023 08:02:42 +0000 (10:02 +0200)
commita3bee62e90d8fdfdbd325323106de00b3e3a729f
treeb787fd0079b3e4736410f11b1347896558bee292
parent8320ba0ce534dea603b7ba22f484ee39ef2ce746
ASoC: sigmadsp: Simplify with snd_ctl_activate_id()

Use the standard snd_ctl_activate_id() helper instead of an open code
for code simplification.

Acked-by: Mark Brown <broonie@kernel.org>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: "Nuno Sá" <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20230718141304.1032-7-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/codecs/sigmadsp.c