diff options
author | Geoffrey D. Bennett <g@b4.vu> | 2021-06-21 02:16:34 +0930 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-06-21 08:37:07 +0200 |
commit | 03bdbcf08a8cb7ba69a67115d33a85e6bc6e7481 (patch) | |
tree | c67ce6d7968da1a2cd54e72315541a146b32e542 /lib/nmi_backtrace.c | |
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>
Diffstat (limited to 'lib/nmi_backtrace.c')
0 files changed, 0 insertions, 0 deletions