From patchwork Tue Mar 17 09:36:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomeu Vizoso X-Patchwork-Id: 6029451 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 08A859F2A9 for ; Tue, 17 Mar 2015 09:38:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4112320035 for ; Tue, 17 Mar 2015 09:38:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 559CA20426 for ; Tue, 17 Mar 2015 09:38:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932821AbbCQJha (ORCPT ); Tue, 17 Mar 2015 05:37:30 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:37639 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934036AbbCQJh1 (ORCPT ); Tue, 17 Mar 2015 05:37:27 -0400 Received: by wixw10 with SMTP id w10so5802010wix.0; Tue, 17 Mar 2015 02:37:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=GjALtq5N1w4ctwKG2W03Mf0fi2OFsbBO0EgSTo/lNjQ=; b=WMogB3sDBBMGgnlmM/YFeUGluOo5vk00HN3Pd26P/NUQTapiWTw/+dd5uEyt0Pvigl oYnElcY7CC3ZLPFAdm3Wc5IpAS9VQWEjDWezzSgueqFjsTLzGb2dkmZwETpQ6MjIW7Qk d3nE2MNnBVUsMQJqU0BXQ2Bsasj/VP4oMdG7w791tenGqA2zDNtFUXbGqt6k4Cyie4Uo fn3/oBzwddVeOu4pmPBEYv8/uw9WehnCb2TG+pYKV+6AGK7RqghJYHLCGquI2KiBaiXc nsPZ1FPdCd9ck48wMm1n5tC7LqLjirpAr/XZKZUO3zNZOIqeuxClIAerPLgd7bh4lqh6 1sTg== X-Received: by 10.194.143.20 with SMTP id sa20mr78266157wjb.75.1426585045591; Tue, 17 Mar 2015 02:37:25 -0700 (PDT) Received: from cizrna.lan ([109.72.12.78]) by mx.google.com with ESMTPSA id q10sm19113700wjr.41.2015.03.17.02.37.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Mar 2015 02:37:24 -0700 (PDT) From: Tomeu Vizoso To: linux-tegra@vger.kernel.org Cc: Mikko Perttunen , Tomeu Vizoso , MyungJoo Ham , Kyungmin Park , Stephen Warren , Thierry Reding , Alexandre Courbot , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 7/8] PM / devfreq: tegra: Enable interrupts after resuming the devfreq monitor Date: Tue, 17 Mar 2015 10:36:17 +0100 Message-Id: <1426584991-11110-8-git-send-email-tomeu.vizoso@collabora.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1426584991-11110-1-git-send-email-tomeu.vizoso@collabora.com> References: <1426584991-11110-1-git-send-email-tomeu.vizoso@collabora.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Tomeu Vizoso --- drivers/devfreq/tegra-devfreq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/devfreq/tegra-devfreq.c b/drivers/devfreq/tegra-devfreq.c index 23be954..0d1edd5 100644 --- a/drivers/devfreq/tegra-devfreq.c +++ b/drivers/devfreq/tegra-devfreq.c @@ -577,8 +577,8 @@ static int tegra_governor_event_handler(struct devfreq *devfreq, switch (event) { case DEVFREQ_GOV_START: - tegra_actmon_enable_interrupts(tegra); devfreq_monitor_start(devfreq); + tegra_actmon_enable_interrupts(tegra); break; case DEVFREQ_GOV_STOP: @@ -592,8 +592,8 @@ static int tegra_governor_event_handler(struct devfreq *devfreq, break; case DEVFREQ_GOV_RESUME: - tegra_actmon_enable_interrupts(tegra); devfreq_monitor_resume(devfreq); + tegra_actmon_enable_interrupts(tegra); break; }