Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ALSA: usb: midi: use snd_kcontrol_chip()

We can use snd_kcontrol_chip(). Let's use it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/87o6w5aud5.wl-kuninori.morimoto.gx@renesas.com

authored by

Kuninori Morimoto and committed by
Takashi Iwai
27c464a8 483dd12d

+1 -1
+1 -1
sound/usb/midi.c
··· 2080 2080 static int roland_load_put(struct snd_kcontrol *kcontrol, 2081 2081 struct snd_ctl_elem_value *value) 2082 2082 { 2083 - struct snd_usb_midi *umidi = kcontrol->private_data; 2083 + struct snd_usb_midi *umidi = snd_kcontrol_chip(kcontrol); 2084 2084 int changed; 2085 2085 2086 2086 if (value->value.enumerated.item[0] > 1)