[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <294115.59939.qm@web180308.mail.gq1.yahoo.com>
Date: Wed, 23 Jun 2010 06:39:09 -0700 (PDT)
From: David Brownell <david-b@...bell.net>
To: Jani Nikula <ext-jani.1.nikula@...ia.com>
Cc: Ryan Mallon <ryan@...ewatersys.com>,
linux kernel <linux-kernel@...r.kernel.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
Andrew Morton <akpm@...ux-foundation.org>,
David Brownell <dbrownell@...rs.sourceforge.net>,
"gregkh@...e.de" <gregkh@...e.de>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>
Subject: Re: gpiolib and sleeping gpios
--- On Wed, 6/23/10, Jani Nikula <ext-jani.1.nikula@...ia.com> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists