From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH v2] ASoC: samsung: Fix checking return value of clk_get Date: Fri, 16 Sep 2011 00:50:02 +0100 Message-ID: <20110915235002.GB4403@opensource.wolfsonmicro.com> References: <1316054214.3496.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 4630E103C86 for ; Fri, 16 Sep 2011 01:50:04 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1316054214.3496.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: alsa-devel@alsa-project.org, Sangbeom Kim , Jassi Brar , linux-kernel@vger.kernel.org, Ben Dooks , Liam Girdwood , Christian Pellegrin List-Id: alsa-devel@alsa-project.org On Thu, Sep 15, 2011 at 10:36:54AM +0800, Axel Lin wrote: > clk_get() returns a pointer to the struct clk or an ERR_PTR(). > This patch also use PTR_ERR() for return value. Applied, thanks. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935511Ab1IOXuH (ORCPT ); Thu, 15 Sep 2011 19:50:07 -0400 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:42564 "EHLO opensource2.wolfsonmicro.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S935471Ab1IOXuF (ORCPT ); Thu, 15 Sep 2011 19:50:05 -0400 Date: Fri, 16 Sep 2011 00:50:02 +0100 From: Mark Brown To: Axel Lin Cc: linux-kernel@vger.kernel.org, Christian Pellegrin , Ben Dooks , Jassi Brar , Sangbeom Kim , Liam Girdwood , alsa-devel@alsa-project.org Subject: Re: [PATCH v2] ASoC: samsung: Fix checking return value of clk_get Message-ID: <20110915235002.GB4403@opensource.wolfsonmicro.com> References: <1316054214.3496.1.camel@phoenix> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1316054214.3496.1.camel@phoenix> X-Cookie: Slow day. Practice crawling. 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 Thu, Sep 15, 2011 at 10:36:54AM +0800, Axel Lin wrote: > clk_get() returns a pointer to the struct clk or an ERR_PTR(). > This patch also use PTR_ERR() for return value. Applied, thanks.