On Sun, Jul 29, 2012 at 4:54 AM, Axel Lin <[email protected]> wrote:
> gpio_chip.can_sleep is 0, but current code uses mutex in ioh_gpio_set, > ioh_gpio_get and ioh_gpio_direction_input functions. > Thus those functions are not callable from interrupt context. > This patch converts mutex into spinlock. > > Signed-off-by: Axel Lin <[email protected]> Applied to my devel branch for the next merge window, it doesn't seem like a regression to me atleast. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

