mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 15:12:13 +02:00
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
This commit is contained in:
parent
483dd12dbe
commit
27c464a886
|
|
@ -2080,7 +2080,7 @@ static int roland_load_get(struct snd_kcontrol *kcontrol,
|
|||
static int roland_load_put(struct snd_kcontrol *kcontrol,
|
||||
struct snd_ctl_elem_value *value)
|
||||
{
|
||||
struct snd_usb_midi *umidi = kcontrol->private_data;
|
||||
struct snd_usb_midi *umidi = snd_kcontrol_chip(kcontrol);
|
||||
int changed;
|
||||
|
||||
if (value->value.enumerated.item[0] > 1)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user