From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH] ASoC: samsung: Fix checking return value of clk_get Date: Tue, 13 Sep 2011 16:14:20 +0100 Message-ID: <20110913151420.GA23782@opensource.wolfsonmicro.com> References: <1315925062.6042.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 8B326103870 for ; Tue, 13 Sep 2011 17:14:33 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1315925062.6042.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 Tue, Sep 13, 2011 at 10:44:22PM +0800, Axel Lin wrote: > clk_get() returns a pointer to the struct clk or an ERR_PTR(). Are you sure that the Samsung clock implementation actually does this? From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754899Ab1IMPOd (ORCPT ); Tue, 13 Sep 2011 11:14:33 -0400 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:52554 "EHLO opensource2.wolfsonmicro.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753256Ab1IMPOd (ORCPT ); Tue, 13 Sep 2011 11:14:33 -0400 Date: Tue, 13 Sep 2011 16:14:20 +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] ASoC: samsung: Fix checking return value of clk_get Message-ID: <20110913151420.GA23782@opensource.wolfsonmicro.com> References: <1315925062.6042.1.camel@phoenix> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1315925062.6042.1.camel@phoenix> X-Cookie: Are you a turtle? 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 Tue, Sep 13, 2011 at 10:44:22PM +0800, Axel Lin wrote: > clk_get() returns a pointer to the struct clk or an ERR_PTR(). Are you sure that the Samsung clock implementation actually does this?