ALSA: usb-audio: Fix Scarlett 6i6 Gen 2 port data
authorGeoffrey D. Bennett <g@b4.vu>
Sun, 10 Nov 2019 13:43:56 +0000 (00:13 +1030)
committerTakashi Iwai <tiwai@suse.de>
Fri, 22 Nov 2019 07:41:03 +0000 (08:41 +0100)
commitce3cba788a1b7b8aed9380c3035d9e850884bd2d
tree3f0319419d33e930587cb03f24580e023f392e52
parent695d1ec3994f9de2cefae80ee2087c95d2e5a2f3
ALSA: usb-audio: Fix Scarlett 6i6 Gen 2 port data

The s6i6_gen2_info.ports[] array had the Mixer and PCM port type
entries in the wrong place. Use designators to explicitly specify the
array elements being set.

Fixes: 9e4d5c1be21f ("ALSA: usb-audio: Scarlett Gen 2 mixer interface")
Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Tested-by: Alex Fellows <alex.fellows@gmail.com>
Tested-by: Markus Schroetter <project.m.schroetter@gmail.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20191110134356.GA31589@b4.vu
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer_scarlett_gen2.c