ALSA: scarlett2: Add pbuf field to struct scarlett2_config
authorGeoffrey D. Bennett <g@b4.vu>
Tue, 12 Mar 2024 18:35:15 +0000 (05:05 +1030)
committerTakashi Iwai <tiwai@suse.de>
Thu, 18 Apr 2024 06:31:13 +0000 (08:31 +0200)
commit7d20f7b4f337ac075cf79f5047e68ea46189743f
tree95d3f108712805c0227df88673a191f6ce467857
parent4390095126eecb83fd02877aec651a24fec99a43
ALSA: scarlett2: Add pbuf field to struct scarlett2_config

scarlett2_usb_set_config() was using size = 0 as a signal to use the
parameter buffer. Replace that with an explicit indication (pbuf = 1),
as the upcoming Vocaster support has a config item written via the
parameter buffer with size = 1 rather than the implicit size of 8.

Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Message-ID: <50a7d85bb04f9a7f13f667c70a706826c8d3ef93.1710264833.git.g@b4.vu>
sound/usb/mixer_scarlett2.c