[PATCH 1/5] OMAP:board-omap3evm: Change TWL related gpio API's to gpio*_cansleep

Varadarajan, Charulatha charu at ti.com
Fri Jan 28 02:56:19 EST 2011


On Tue, Jan 25, 2011 at 23:07, Vaibhav Hiremath <hvaibhav at ti.com> wrote:
> Since TWL GPIO's can go into sleep, and using normal
> gpio_get/set_value() API will lead to kernel dump (WARN_ON()).
> So replacing standard gpio_get/set_value() to
> gpio_get/set_value_cansleep().
>
> Signed-off-by: Vaibhav Hiremath <hvaibhav at ti.com>

Reviewed-by: Charulatha V <charu at ti.com>

> ---
>  arch/arm/mach-omap2/board-omap3evm.c |   12 ++++++------
>  1 files changed, 6 insertions(+), 6 deletions(-)
>



More information about the linux-arm-kernel mailing list