Sangbeom Kim wrote: > > From: Atul Dahiya <atul.dahiya@xxxxxxxxxxx> > > The patch removes s3c_gpio_lock/unlock to avoid acquiring the lock > recursively as lock is already acquired by calling function. > > Signed-off-by: Atul Dahiya <atul.dahiya@xxxxxxxxxxx> > Signed-off-by: Sangbeom Kim <sbkim73@xxxxxxxxxxx> > --- > arch/arm/mach-s5p64x0/gpio.c | 4 ---- > 1 files changed, 0 insertions(+), 4 deletions(-) > > diff --git a/arch/arm/mach-s5p64x0/gpio.c b/arch/arm/mach-s5p64x0/gpio.c > index 3073ed0..533c1a3 100644 > --- a/arch/arm/mach-s5p64x0/gpio.c > +++ b/arch/arm/mach-s5p64x0/gpio.c > @@ -158,15 +158,11 @@ int s5p64x0_gpio_setcfg_4bit_rbank(struct > s3c_gpio_chip *chip, > cfg <<= shift; > } > > - s3c_gpio_lock(chip, flags); > - > con = __raw_readl(reg); > con &= ~(0xf << shift); > con |= cfg; > __raw_writel(con, reg); > > - s3c_gpio_unlock(chip, flags); > - > return 0; > } > > -- Right...will apply. Thanks. Best regards, Kgene. -- Kukjin Kim <kgene.kim@xxxxxxxxxxx>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd. -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html