diff options
author | Takashi Iwai <tiwai@suse.de> | 2023-06-06 12:40:35 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-06-06 15:34:30 +0300 |
commit | 306f3f78a5ff578bdfd97c658a862cb2c2419fb6 (patch) | |
tree | dee338eb0f318f33e5ba8110a61e790eca812f90 /sound/hda | |
parent | ebcbfd846367c980e105c787d372c4239e9ed922 (diff) | |
download | linux-306f3f78a5ff578bdfd97c658a862cb2c2419fb6.tar.xz |
ALSA: control: Keep the previous numid at snd_ctl_rename_id()
We don't need to change the numid at each time snd_ctl_rename_id() is
called, as the control element size itself doesn't change. Let's keep
the previous numid value.
Along with it, add a note about calling this function only in the
card init phase.
Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20230606094035.14808-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/hda')
0 files changed, 0 insertions, 0 deletions