Re: [PATCH v3] gpio: interrupt consistency check for OF GPIO IRQs

From: Mark Brown
Date: Tue Sep 10 2013 - 17:37:37 EST


On Tue, Sep 10, 2013 at 01:53:47PM -0600, Stephen Warren wrote:

> Doesn't this patch call gpio_request() on the GPIO first, and hence
> prevent the driver's own gpio_request() from succeeding, since the GPIO
> is already requested? If this is not a problem, it sounds like a bug in
> gpio_request() not ensuring mutual exclusion for the GPIO.

Or at the very least something that's likely to break in the future.

Attachment: signature.asc
Description: Digital signature