Re: gpiolib and sleeping gpios
From: David Brownell
Date: Wed Jun 23 2010 - 09:40:29 EST
--- On Wed, 6/23/10, Jani Nikula <ext-jani.1.nikula@xxxxxxxxx> wrote:
> - WARN_ON(extra_checks &&
> chip->can_sleep);
> + might_sleep_if(chip->can_sleep);
That looks like the right track. For
those cases the "extra_checks" should
not be optional ... thanks.
- Dave
--
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/