Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422962AbbEOBw7 (ORCPT ); Thu, 14 May 2015 21:52:59 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:54097 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753269AbbEOBw5 (ORCPT ); Thu, 14 May 2015 21:52:57 -0400 X-AuditID: cbfee68d-f79106d00000728c-41-55555176d7a6 Message-id: <55555176.3060703@samsung.com> Date: Fri, 15 May 2015 10:52:54 +0900 From: Joonyoung Shim User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-version: 1.0 To: Stephen Boyd Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, mturquette@linaro.org, haojian.zhuang@gmail.com, james.hogan@imgtec.com Subject: Re: [PATCH 1/2] clk: divider: don't set_rate with CLK_DIVIDER_READ_ONLY flag References: <1428392806-14538-1-git-send-email-jy0922.shim@samsung.com> <20150512235910.GC14873@codeaurora.org> In-reply-to: <20150512235910.GC14873@codeaurora.org> Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprJIsWRmVeSWpSXmKPExsWyRsSkQLcsMDTU4NdGXosL68wt3s17wWzx seceq8XlXXPYLJ5OuMhm8eNMN4sDm8flvl4mj52z7rJ79Ow8w+hx59oeNo/Pm+QCWKO4bFJS czLLUov07RK4Mp5Mv8VYsIG14teP2gbGlSxdjJwcEgImEvcen4GyxSQu3FvPBmILCSxllPh0 yxemZvu95UBxLqD4IkaJZXtuQzkPGCWOvr/ICFLFK6AlsX/OHdYuRg4OFgFVibaHfiBhNgE9 iTvbjjOB2KICYRIP1u1lhSgXlPgx+R7YYhEBdYnvO06CLWYWaGOU+HgBzBYWCJe40LqJEeKg Qonna5aBxTmBDtrZsQZsFTPQ/PsXtSBa5SU2r3nLDHKahMA+domPP9qYQRIsAgIS3y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TOyNDI3 tDAyNlcS5z2Z7xMqJJCeWJKanZpakFoE08fEwSnVwMiVz7MpWcQ0zLDvjHzRwqUWH3PbLNZu jLj26/x6nhl5D2wKLO2Pfc0+elTsDrMbw4u/36cnqnabT08x7Dt3efr1NoaDh4xlXtf51nJc 1H314W7C2z+nLa9rnCqLuH7nMWv2w/4fEu/ezjVOYnt6U/3fGdup2xZkNvRrCLNcYlIolv5/ 6fbBFTJKLMUZiYZazEXFiQD0Kg6z9wIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 913 Lines: 25 Hi Stephen, On 05/13/2015 08:59 AM, Stephen Boyd wrote: > On 04/07, Joonyoung Shim wrote: >> Even if use CLK_DIVIDER_READ_ONLY flag, divider setting can be changed >> by set_rate callback. Don't change divider setting from set_rate >> callback of divider with CLK_DIVIDER_READ_ONLY flag. >> >> Signed-off-by: Joonyoung Shim >> --- > > Is the rate actually changing? Or is it just a problem that we > may be writing the register to the same value it already is? > If rate and parant_rate are different, it can write the register to different value. Even if the value is same but i think it's unnecessary to re-write the register. Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/