lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1283384886.21049.28.camel@c-dwalke-linux.qualcomm.com>
Date:	Wed, 01 Sep 2010 16:48:06 -0700
From:	Daniel Walker <dwalker@...eaurora.org>
To:	Gregory Bean <gbean@...eaurora.org>
Cc:	linux-arm-msm@...r.kernel.org,
	linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
	Arve Hjønnevåg <arve@...roid.com>
Subject: Re: [PATCH 1/2 v2] msm: Install the Google-Android gpio driver.

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-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ