]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/ca0132: constify templates for control element set
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 15 May 2018 13:12:57 +0000 (22:12 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 15 May 2018 16:05:27 +0000 (18:05 +0200)
commit5338e01ad8973eb595ab65fe8b8a6ea609d36048
treeff2c0f880e97ee43ac153af337204409a3eab132
parentddda924cc79e7540770dcdd154ac5ccbda1abe1f
ALSA: hda/ca0132: constify templates for control element set

An array of templates for control element set is passed as an
argument for snd_hda_add_new_ctls(). This argument has 'const'
qualifier therefore the passed array can have the qualifier.

This commit adds this optimization.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_ca0132.c