Re: [PATCH] ASoC: sn95031: Fix the logic to find free channel

From: Mark Brown
Date: Sun Sep 04 2011 - 11:54:25 EST


On Sat, Sep 03, 2011 at 01:41:47PM +0800, Axel Lin wrote:
> In the case of no free channel available,
> current implementation returns 0 instead of negative errno.
>
> This patch fixes the logic to return -EINVAL if no free channel available.

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/