From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932634AbaLBRym (ORCPT ); Tue, 2 Dec 2014 12:54:42 -0500 Received: from mail-vc0-f175.google.com ([209.85.220.175]:48925 "EHLO mail-vc0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932569AbaLBRyk (ORCPT ); Tue, 2 Dec 2014 12:54:40 -0500 MIME-Version: 1.0 In-Reply-To: <1417531977-30094-1-git-send-email-jay.xu@rock-chips.com> References: <1417531766-29669-1-git-send-email-jay.xu@rock-chips.com> <1417531977-30094-1-git-send-email-jay.xu@rock-chips.com> Date: Tue, 2 Dec 2014 09:54:39 -0800 X-Google-Sender-Auth: 3MXdnuPiN1uDMSv5zR3-PdZz7sQ Message-ID: Subject: Re: [PATCH 2/2] ASoC: rockchip: i2s: add support for grabbing output clock to codec From: Doug Anderson To: Jianqun Xu Cc: Liam Girdwood , "broonie@kernel.org" , perex@perex.cz, tiwai@suse.de, Sonny Rao , =?UTF-8?Q?Heiko_St=C3=BCbner?= , "linux-arm-kernel@lists.infradead.org" , alsa-devel@alsa-project.org, "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "open list:ARM/Rockchip SoC..." Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Jianqun, This ought to be a "v3" patch and ideally ought to describe differences from v2 (after the cut). Please have Kever or Chris review your next patch before sending it out since I think they are familiar with the process. On Tue, Dec 2, 2014 at 6:52 AM, Jianqun Xu wrote: > From: Sonny Rao > > We need to claim the clock which is driving the codec so that when we enable > clock gating, we continue to clock the codec when needed. I make this an > optional clock since there might be some applications where we don't need it > but can still use the I2S block. > > Signed-off-by: Sonny Rao You still forgot your own signed-off-by. Please try again. See > + i2s->oclk = devm_clk_get(&pdev->dev, "i2s_clk_out"); > + if (IS_ERR(i2s->oclk)) { > + dev_dbg(&pdev->dev, "Didn't find output clock\n"); > + i2s->oclk = NULL; > + } You still forgot the blank line here requested by Heiko. Please try again. See > + if (i2s->oclk) > + ret = clk_prepare_enable(i2s->oclk); > +