summaryrefslogtreecommitdiffstats
path: root/sound/aoa/codecs/tas.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-10-20 18:08:50 +0200
committerTakashi Iwai <tiwai@suse.de>2014-10-20 18:25:41 +0200
commita7e6fb99150ebb2852ebd0e7bad9ce37cc9a79dd (patch)
tree17248fa8afa98fef3ec38ca332ec921cd95ff062 /sound/aoa/codecs/tas.c
parentALSA: control: Warn if too long string is passed to snd_ctl_enum_info() (diff)
downloadlinux-a7e6fb99150ebb2852ebd0e7bad9ce37cc9a79dd.tar.xz
linux-a7e6fb99150ebb2852ebd0e7bad9ce37cc9a79dd.zip
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 <tiwai@suse.de>
Diffstat (limited to 'sound/aoa/codecs/tas.c')
0 files changed, 0 insertions, 0 deletions