commit | 03bdbcf08a8cb7ba69a67115d33a85e6bc6e7481 | [log] [tgz] |
---|---|---|
author | Geoffrey D. Bennett <g@b4.vu> | Mon Jun 21 02:16:34 2021 +0930 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Jun 21 08:37:07 2021 +0200 |
tree | c67ce6d7968da1a2cd54e72315541a146b32e542 | |
parent | 411b22ed67c9ee11680a3fae96c7fd6477814274 [diff] |
ALSA: usb-audio: scarlett2: Remove redundant info->button_count The per-model button_count value was used to determine whether dim/mute controls should be added, but these are present iff line_out_hw_vol is true. Remove button_count and replace with SCARLETT2_BUTTON_MAX and a check for line_out_hw_vol true. Signed-off-by: Geoffrey D. Bennett <g@b4.vu> Link: https://lore.kernel.org/r/20210620164634.GA9193@m.b4.vu Signed-off-by: Takashi Iwai <tiwai@suse.de>