Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a7e6fb99 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: control: Allow to pass items zero to snd_ctl_enum_info()



Although this is weird, some drivers want to allow empty control
elements intentionally, e.g. the number of items may change depending
on the firmware status.  Let the function simply returning in such a
case.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent df803e13
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment