[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <547E616C.1020503@rock-chips.com>
Date: Wed, 03 Dec 2014 09:03:40 +0800
From: Jianqun <xjq@...k-chips.com>
To: Doug Anderson <dianders@...omium.org>,
Jianqun Xu <jay.xu@...k-chips.com>
CC: xjq@...k-chips.com, Liam Girdwood <lgirdwood@...il.com>,
"broonie@...nel.org" <broonie@...nel.org>, perex@...ex.cz,
tiwai@...e.de, Sonny Rao <sonnyrao@...omium.org>,
Heiko Stübner <heiko@...ech.de>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
alsa-devel@...a-project.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"open list:ARM/Rockchip SoC..." <linux-rockchip@...ts.infradead.org>
Subject: Re: [PATCH 2/2] ASoC: rockchip: i2s: add support for grabbing output
clock to codec
Hi Doug:
在 12/03/2014 01:54 AM, Doug Anderson 写道:
> 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 <jay.xu@...k-chips.com> wrote:
>> From: Sonny Rao <sonnyrao@...omium.org>
>>
>> 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 <sonnyrao@...omium.org>
>
> You still forgot your own signed-off-by. Please try again. See
> <https://patchwork.kernel.org/patch/5334991/>
ok, I will add my signed-off-by
>
>
>> + 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 <https://patchwork.kernel.org/patch/5334991/>
Although I thought there needn't a blank ~, I wll add it next patch
>
>
>> + if (i2s->oclk)
>> + ret = clk_prepare_enable(i2s->oclk);
>> +
>
>
>
--
Jianqun Xu
****************************************************************************
*IMPORTANT NOTICE:*This email is from Fuzhou Rockchip Electronics Co.,
Ltd .The contents of this email and any attachments may contain
information that is privileged, confidential and/or exempt from
disclosure under applicable law and relevant NDA. If you are not the
intended recipient, you are hereby notified that any disclosure,
copying, distribution, or use of the information is STRICTLY PROHIBITED.
Please immediately contact the sender as soon as possible and destroy
the material in its entirety in any format. Thank you.
****************************************************************************
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists