ALSA: bebob: Correction for return value of .put callback
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 22 Jul 2014 14:13:56 +0000 (23:13 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 22 Jul 2014 14:21:54 +0000 (16:21 +0200)
This commit is for correction of my misunderstanding about return value of
.put callback in ALSA Control interface.

According to 'Writing ALSA Driver' (*1), return value of the callback has
three patterns; 1: changed, 0: not changed, an negative value: fatal error.

But I misunderstood that it's boolean; zero or nonzero.

*1: Writing an ALSA Driver (2005, Takashi Iwai)
http://www.alsa-project.org/main/index.php/ALSA_Driver_Documentation

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found