On Wed, Sep 14, 2011 at 4:49 PM, Sergei Shtylyov <sshtyl...@mvista.com> wrote: > Hello. > > On 13-09-2011 17:02, Tarun Kanti DebBarma wrote: > >> Remove un-necessary bit masking. Since the register are 4 byte aligned >> and readl would work as is. The 'enabled' mask is already taking care >> to mask for bank width. > >> Signed-off-by: Charulatha V<ch...@ti.com> >> Signed-off-by: Tarun Kanti DebBarma<tarun.ka...@ti.com> >> Reviewed-by: Santosh Shilimkar<santosh.shilim...@ti.com> >> --- >> drivers/gpio/gpio-omap.c | 2 -- >> 1 files changed, 0 insertions(+), 2 deletions(-) > >> diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c >> index 876e387..d614c6d 100644 >> --- a/drivers/gpio/gpio-omap.c >> +++ b/drivers/gpio/gpio-omap.c >> @@ -571,8 +571,6 @@ static void gpio_irq_handler(unsigned int irq, struct >> irq_desc *desc) >> enabled = _get_gpio_irqbank_mask(bank); >> isr_saved = isr = __raw_readl(isr_reg)& enabled; >> >> - if (cpu_is_omap15xx()&& (bank->method == METHOD_MPUIO)) >> - isr&= 0x0000ffff; >> > > Should have removed the now unneeded empty line too. Sure... I will remove. -- Tarun > >> if (bank->level_mask) >> level_mask = bank->level_mask& enabled; > > WBR, Sergei > -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
- Re: [PATCH v7 04/26] gpio/omap: fix pwrdm_post_... Tony Lindgren
- [PATCH v7 01/26] gpio/omap: remove dependency on gpi... Tarun Kanti DebBarma
- Re: [PATCH v7 01/26] gpio/omap: remove dependen... Tony Lindgren
- [PATCH v7 06/26] gpio/omap: make non-wakeup GPIO par... Tarun Kanti DebBarma
- Re: [PATCH v7 06/26] gpio/omap: make non-wakeup... Tony Lindgren
- [PATCH v7 17/26] gpio/omap: use pm-runtime framework Tarun Kanti DebBarma
- [PATCH v7 09/26] gpio/omap: use level/edge detect re... Tarun Kanti DebBarma
- Re: [PATCH v7 09/26] gpio/omap: use level/edge ... Tony Lindgren
- [PATCH v7 14/26] gpio/omap: remove unnecessary bit-m... Tarun Kanti DebBarma
- Re: [PATCH v7 14/26] gpio/omap: remove unnecess... Sergei Shtylyov
- Re: [PATCH v7 14/26] gpio/omap: remove unne... DebBarma, Tarun Kanti
- [PATCH v7 10/26] gpio/omap: remove hardcoded offsets... Tarun Kanti DebBarma
- Re: [PATCH v7 10/26] gpio/omap: remove hardcode... Tony Lindgren
- [PATCH v7 16/26] gpio/omap: fix bankwidth for OMAP7x... Tarun Kanti DebBarma
- Re: [PATCH v7 16/26] gpio/omap: fix bankwidth f... Tony Lindgren
- [PATCH v7 12/26] gpio/omap: cleanup omap_gpio_mod_in... Tarun Kanti DebBarma
- Re: [PATCH v7 12/26] gpio/omap: cleanup omap_gp... Tony Lindgren
- [PATCH v7 02/26] gpio/omap: use flag to identify wak... Tarun Kanti DebBarma
- [PATCH v7 07/26] gpio/omap: avoid cpu checks during ... Tarun Kanti DebBarma
- Re: [PATCH v7 07/26] gpio/omap: avoid cpu check... Tony Lindgren
- [PATCH v7 03/26] gpio/omap: make gpio_context part o... Tarun Kanti DebBarma