From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751356Ab1IDPyW (ORCPT ); Sun, 4 Sep 2011 11:54:22 -0400 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:33246 "EHLO opensource2.wolfsonmicro.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751026Ab1IDPyT (ORCPT ); Sun, 4 Sep 2011 11:54:19 -0400 Date: Sun, 4 Sep 2011 08:54:15 -0700 From: Mark Brown To: Axel Lin Cc: linux-kernel@vger.kernel.org, Harsha Priya , Vinod Koul , Liam Girdwood , alsa-devel@alsa-project.org Subject: Re: [PATCH] ASoC: sn95031: Fix the logic to find free channel Message-ID: <20110904155414.GB21528@opensource.wolfsonmicro.com> References: <1315028507.2268.1.camel@phoenix> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1315028507.2268.1.camel@phoenix> X-Cookie: You have no real enemies. User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH] ASoC: sn95031: Fix the logic to find free channel Date: Sun, 4 Sep 2011 08:54:15 -0700 Message-ID: <20110904155414.GB21528@opensource.wolfsonmicro.com> References: <1315028507.2268.1.camel@phoenix> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from opensource2.wolfsonmicro.com (opensource.wolfsonmicro.com [80.75.67.52]) by alsa0.perex.cz (Postfix) with ESMTP id 6E009103822 for ; Sun, 4 Sep 2011 17:54:19 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1315028507.2268.1.camel@phoenix> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Axel Lin Cc: Vinod Koul , alsa-devel@alsa-project.org, Harsha Priya , linux-kernel@vger.kernel.org, Liam Girdwood List-Id: alsa-devel@alsa-project.org 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.