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.vuSigned-off-by: Takashi Iwai <tiwai@suse.de>
Showing
Please register or sign in to comment