Re: [PATCH 1/2 v2] msm: Install the Google-Android gpio driver.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux