From patchwork Wed May 16 02:33:31 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob X-Patchwork-Id: 8664 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 CBE4223E37 for ; Wed, 16 May 2012 02:33:47 +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 9C407A18265 for ; Wed, 16 May 2012 02:33:47 +0000 (UTC) Received: by mail-gg0-f180.google.com with SMTP id f1so349787ggn.11 for ; Tue, 15 May 2012 19:33:47 -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=fjbrIdpV2wT7cK6LDLoA0uZ/wss7SmGfFXSYaDYlDeGwSXXm2cighZAcHZ2hBUtWCz W9zhgl8RwPcRxL7sbbgIEBScXdZNj3WIRgsSrNimERpeOQyO9d8qqg/VuqrXWylTZRIQ lTyypk5SCJlMRUgdLNu7mlnUYkS8uUPuucOyo99+1bvAIHww1qY8wPkl14pyohmFW4ZX CUGX4m/v9L4ZqbH/flLSXJA95Ri41ZlFTBWfivUjQpsJhEIPpqwRr8hkLApEsEbd9Bjh 0byN04mb83yOo7vxrTREIVR2O6QKl5fGPcmkD7hbehX0ErI78Fuib7FgKDc3m8WDCqsX m/rA== Received: by 10.50.222.202 with SMTP id qo10mr8852277igc.0.1337135627280; Tue, 15 May 2012 19:33:47 -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 o8csp460617ibd; Tue, 15 May 2012 19:33:46 -0700 (PDT) Received: by 10.236.37.168 with SMTP id y28mr1376498yha.111.1337135626581; Tue, 15 May 2012 19:33:46 -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 b70si1009196yhn.10.2012.05.15.19.33.46 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 May 2012 19:33:46 -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 ggcq6 with SMTP id q6so329419ggc.37 for ; Tue, 15 May 2012 19:33:46 -0700 (PDT) Received: by 10.236.152.98 with SMTP id c62mr1478307yhk.35.1337135626256; Tue, 15 May 2012 19:33:46 -0700 (PDT) Received: from localhost.localdomain ([216.59.27.28]) by mx.google.com with ESMTPS id a68sm4346289yhj.22.2012.05.15.19.33.42 (version=SSLv3 cipher=OTHER); Tue, 15 May 2012 19:33:45 -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 v4 2/7] ARM: imx: Add comments to tzic_enable_waker() Date: Tue, 15 May 2012 21:33:31 -0500 Message-Id: <1337135616-8988-3-git-send-email-rob.lee@linaro.org> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1337135616-8988-1-git-send-email-rob.lee@linaro.org> References: <1337135616-8988-1-git-send-email-rob.lee@linaro.org> X-Gm-Message-State: ALoCoQnBpLfAmD4nXZ2m3i6xrKz5G7HyAjv83WWKPHaYMptRV/TMgmU5+XaLwhSGj7tndnstI8zK 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) {