]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6b7cd20eab68b77ef5cca656649f5484c3e0c585
treebddbe1cc3f0d5405b7bb948481faec9154f724d9
parent9d7f0e5705a4b5828c35a3b5a74e79e94ff81873
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