ALSA: ctl: fix a bug to return no identical information in info operation for userspa...
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 11 Apr 2015 08:41:03 +0000 (17:41 +0900)
committerTakashi Iwai <tiwai@suse.de>
Sat, 11 Apr 2015 15:32:16 +0000 (17:32 +0200)
commitc378c3b03c8d6eef2d2600d0279e2c718d6a0a44
treebddbe1cc3f0d5405b7bb948481faec9154f724d9
parentc78497e010ae62c8abfb33a45d0e0b361218e9bb
ALSA: ctl: fix a bug to return no identical information in info operation for userspace controls

In operations of SNDRV_CTL_IOCTL_ELEM_INFO, identical information in
returned value is cleared. This is not better to userspace application.

This commit confirms to return full identical information to the
operations.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/control.c