linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: dwalker@codeaurora.org (Daniel Walker)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2 v2] msm: Install the Google-Android gpio driver.
Date: Wed, 01 Sep 2010 16:48:06 -0700	[thread overview]
Message-ID: <1283384886.21049.28.camel@c-dwalke-linux.qualcomm.com> (raw)
In-Reply-To: <1283384380-24997-1-git-send-email-gbean@codeaurora.org>

On Wed, 2010-09-01 at 16:39 -0700, Gregory Bean wrote:
> +void msm_gpio_enter_sleep(int from_idle)
> +{
> +       int i;
> +       struct tramp_gpio_smem *smem_gpio;
> +
> +       smem_gpio = smem_alloc(SMEM_GPIO_INT, sizeof(*smem_gpio));
> +
> +       if (smem_gpio) {
> +               for (i = 0; i < ARRAY_SIZE(smem_gpio->enabled); i++) {
> +                       smem_gpio->enabled[i] = 0;
> +                       smem_gpio->detection[i] = 0;
> +                       smem_gpio->polarity[i] = 0;
> +               }
> +       }
> + 

Can you not drop these for some reason ?

Daniel

-- 

Sent by a consultant of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.

  parent reply	other threads:[~2010-09-01 23:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-01 23:39 [PATCH 1/2 v2] msm: Install the Google-Android gpio driver Gregory Bean
2010-09-01 23:39 ` [PATCH 2/2 v2] msm: gpio: Add gpiomux calls to request and free Gregory Bean
2010-09-01 23:48 ` Daniel Walker [this message]
2010-09-02 10:27 ` [PATCH 1/2 v2] msm: Install the Google-Android gpio driver Ben Dooks
2010-09-02 19:45   ` Gregory Bean

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1283384886.21049.28.camel@c-dwalke-linux.qualcomm.com \
    --to=dwalker@codeaurora.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).