On Sat, Feb 9, 2013 at 11:34 AM, Grant Likely <grant.lik...@secretlab.ca> wrote:

> The debugfs files really need to hold the gpiolib spinlock before
> accessing the list. Otherwise chip addition/removal will cause an oops.
>
> Cc: Alexandre Courbot <acour...@nvidia.com>
> Cc: Linus Walleij <linus.wall...@linaro.org>
> Signed-off-by: Grant Likely <grant.lik...@secretlab.ca>

Acked-by: Linus Walleij <linus.wall...@linaro.org>

> I've also got a draft patch that turns gpio chips into first-class
> kobjects which means we can do proper reference counting on them and
> prevent the structure from actually disappearing while other drivers
> still hold references.

Thank you for doing this!

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

Reply via email to