Re: [PATCH 1/3] pinctrl: exynos: Add spinlocks to irq_mask and irq_unmask

From: Linus Walleij
Date: Thu Jun 13 2013 - 08:29:50 EST


On Wed, Jun 12, 2013 at 7:33 PM, Doug Anderson <dianders@xxxxxxxxxxxx> wrote:

> The patch:
> 1984695 pinctrl: samsung: Protect bank registers with a spinlock
>
> ...added spinlocks to protect many accesses. However, the irq_mask
> and irq_unmask functions still do an unprotected read/modify/write.
> Add the spinlock there.
>
> Signed-off-by: Doug Anderson <dianders@xxxxxxxxxxxx>

Patch applied with Tomasz and Kukjin's ACKs.

Thanks!
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/