From 95c79d8797256dcfa89c1b77d5d2ca5abbf0968c Mon Sep 17 00:00:00 2001 From: Pankaj Bharadiya Date: Wed, 11 Jan 2017 11:28:02 +0530 Subject: Fix mixer_wait_event function comments The @return comment description incorrect. Fix it. Change-Id: I148a5ebf3e05eb4824beb4c8fa1032a38272d86d Signed-off-by: Pankaj Bharadiya --- src/mixer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/mixer.c') diff --git a/src/mixer.c b/src/mixer.c index 73fbc66..d07797a 100644 --- a/src/mixer.c +++ b/src/mixer.c @@ -321,8 +321,9 @@ int mixer_subscribe_events(struct mixer *mixer, int subscribe) /** Wait for mixer events. * @param mixer A mixer handle. * @param timeout timout value - * @returns On success, zero. - * On failure, non-zero. + * @returns On success, 1. + * On failure, -errno. + * On timeout, 0 * @ingroup libtinyalsa-mixer */ int mixer_wait_event(struct mixer *mixer, int timeout) -- cgit v1.2.3