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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment