From patchwork Mon May 21 22:50:25 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob X-Patchwork-Id: 8844 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 4935923EB5 for ; Mon, 21 May 2012 22:50:42 +0000 (UTC) Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by fiordland.canonical.com (Postfix) with ESMTP id 1991FA18604 for ; Mon, 21 May 2012 22:50:42 +0000 (UTC) Received: by mail-gg0-f180.google.com with SMTP id f1so6033519ggn.11 for ; Mon, 21 May 2012 15:50:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=kFeR8fzcer9DOlNCl0QCAAA9iO/xIzXZihPvKG8YdMw=; b=jAXK5RMw2/VCMictWuF8XztzRmDq/3o4S4vGkGIzXz6+fFvvMMIG4ZDUjit0OiHWUJ KUl1rnTfLFgLwgYiwP8wj8RLMdYuR1Q4+iWLZSR4CTY4XLF2m0xIzpnlgPT37Mk8k+NX /lt3wZqUbFPuXAkDS61YVr+yBvJ/OTvOPaQs6I9wmBcRTnSQkX8CIQRH8rUdFS/IyhFl dhN+YN+zCzsuTuBAvEZ5nENP0ARN317hDyaA5k2xMbuUqLxVfyaZqVrIgnPD2WNraASm J+TL3F5nuUX7I6ayVI0uitk8+KznaGSWAs/Q+7YvUyXrozdhUz/vlB9p0qydl8/nVvFD hTPA== Received: by 10.50.46.232 with SMTP id y8mr7583046igm.57.1337640641682; Mon, 21 May 2012 15:50:41 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.35.72 with SMTP id o8csp324870ibd; Mon, 21 May 2012 15:50:41 -0700 (PDT) Received: by 10.236.143.106 with SMTP id k70mr24140268yhj.38.1337640640849; Mon, 21 May 2012 15:50:40 -0700 (PDT) Received: from mail-gg0-f178.google.com (mail-gg0-f178.google.com [209.85.161.178]) by mx.google.com with ESMTPS id o23si17850309yhk.42.2012.05.21.15.50.40 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 21 May 2012 15:50:40 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.161.178 is neither permitted nor denied by best guess record for domain of rob.lee@linaro.org) client-ip=209.85.161.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.161.178 is neither permitted nor denied by best guess record for domain of rob.lee@linaro.org) smtp.mail=rob.lee@linaro.org Received: by mail-gg0-f178.google.com with SMTP id q6so5883854ggc.37 for ; Mon, 21 May 2012 15:50:40 -0700 (PDT) Received: by 10.50.158.134 with SMTP id wu6mr8039704igb.47.1337640640486; Mon, 21 May 2012 15:50:40 -0700 (PDT) Received: from localhost.localdomain ([216.59.27.6]) by mx.google.com with ESMTPS id dk9sm8682082igb.13.2012.05.21.15.50.38 (version=SSLv3 cipher=OTHER); Mon, 21 May 2012 15:50:39 -0700 (PDT) From: Robert Lee To: kernel@pengutronix.de Cc: shawn.guo@linaro.org, u.kleine-koenig@pengutronix.de, richard.zhao@freescale.com, amit.kucheria@linaro.org, daniel.lezcano@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linaro-dev@lists.linaro.org, patches@linaro.org, jj@chaosbits.net Subject: [PATCH v5 2/7] ARM: imx: Add comments to tzic_enable_waker() Date: Mon, 21 May 2012 17:50:25 -0500 Message-Id: <1337640630-29176-3-git-send-email-rob.lee@linaro.org> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1337640630-29176-1-git-send-email-rob.lee@linaro.org> References: <1337640630-29176-1-git-send-email-rob.lee@linaro.org> X-Gm-Message-State: ALoCoQlbRAPByK1zWWG1JOpLoVVbG02/QGP7J92r7OQTMpDkVaRY6MrzUnNpw27Cz04h6UMsDw4x Add additional comments to the tzic_enable_wake() funciton to clarify its intended usage. Signed-off-by: Robert Lee --- arch/arm/plat-mxc/tzic.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/plat-mxc/tzic.c b/arch/arm/plat-mxc/tzic.c index 98308ec..a45dbea 100644 --- a/arch/arm/plat-mxc/tzic.c +++ b/arch/arm/plat-mxc/tzic.c @@ -190,6 +190,10 @@ void __init tzic_init_irq(void __iomem *irqbase) * tzic_enable_wake() - enable wakeup interrupt * * @return 0 if successful; non-zero otherwise + * + * This function provides an interrupt synchronization point that is required + * by tzic enabled platforms before entering imx specific low power modes (ie, + * those low power modes beyond the WAIT_CLOCKED basic ARM WFI only mode). */ int tzic_enable_wake(void) {