Messages in this thread |  | | Date | Tue, 28 Jun 2011 10:02:12 +0900 | | From | Tomoya MORINAGA <> | | Subject | Re: [PATCH] pch_gpio: transform mutex into spinlock |
| |
(2011/06/28 7:47), Grant Likely wrote: > On Tue, Jun 21, 2011 at 04:17:27PM +0200, Alexander Stein wrote: >> gpio_chip.can_sleep is 0, but gpio_set_value& friends lock a mutex. Thus >> those functions are not callable from interrupt context. >> Changing mutex into spinlock. >> >> Signed-off-by: Alexander Stein<alexander.stein@systec-electronic.com> > > Tomoya, what do you think of this patch? >
Seeing some upstreamed GPIO driver, Alexander's comment looks right.
Best Regards,
tomoya OKI SEMICONDUCTOR CO., LTD.
|  |