From: Takashi Iwai Date: Mon, 20 Oct 2014 16:08:50 +0000 (+0200) Subject: ALSA: control: Allow to pass items zero to snd_ctl_enum_info() X-Git-Tag: omap-for-v3.19/fixes-rc1~126^2~21^2~105^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7e6fb99150ebb2852ebd0e7bad9ce37cc9a79dd;p=pandora-kernel.git 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: Takashi Iwai --- Reading git-diff-tree failed