[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4E092814.1080701@dsn.okisemi.com>
Date: Tue, 28 Jun 2011 10:02:12 +0900
From: Tomoya MORINAGA <tomoya-linux@....okisemi.com>
To: Grant Likely <grant.likely@...retlab.ca>
CC: Alexander Stein <alexander.stein@...tec-electronic.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"toshiharu-linux@....okisemi.com" <toshiharu-linux@....okisemi.com>
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@...tec-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.
--
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