From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758855AbcIWJ2R (ORCPT ); Fri, 23 Sep 2016 05:28:17 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:22006 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1754921AbcIWJ2M (ORCPT ); Fri, 23 Sep 2016 05:28:12 -0400 Message-ID: <1474622885.21723.25.camel@mtksdaap41> Subject: Re: [PATCH v14 4/4] CMDQ: save more energy in idle From: Horng-Shyang Liao To: Jassi Brar CC: Rob Herring , Matthias Brugger , Daniel Kurtz , "Sascha Hauer" , Devicetree List , Linux Kernel Mailing List , "linux-arm-kernel@lists.infradead.org" , , , Sascha Hauer , "Philipp Zabel" , Nicolas Boichat , "CK HU" , cawa cheng , Bibby Hsieh , YT Shen , Daoyuan Huang , Damon Chu , "Josh-YC Liu" , Glory Hung , Jiaguang Zhang , Dennis-YC Hsieh , Monica Wang , Date: Fri, 23 Sep 2016 17:28:05 +0800 In-Reply-To: References: <1473039885-24009-1-git-send-email-hs.liao@mediatek.com> <1473039885-24009-5-git-send-email-hs.liao@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2016-09-22 at 13:22 +0530, Jassi Brar wrote: > On Mon, Sep 5, 2016 at 7:14 AM, HS Liao wrote: > > Use clk_disable_unprepare instead of clk_disable to save more energy > > when CMDQ is idle. > > > > Signed-off-by: HS Liao > > --- > > drivers/mailbox/mtk-cmdq.c | 54 +++++++++++++++++++++++++++++++++++++++------- > > The driver is introduced by second patch of the set, so it makes sense > to merge this patch into patch 2/4. Hi Jassi, Could you take a look at previous discussion between Matthias and me? http://lkml.iu.edu/hypermail/linux/kernel/1606.2/05239.html His basic idea is to simplify first working version. Therefore, I move some code to this patch. Thanks, HS