From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: Jiri Slaby <jslaby@suse.cz>
Cc: rpurdie@rpsys.net, akpm@linux-foundation.org,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
jirislaby@gmail.com
Subject: Re: [PATCH 1/1] LEDS: leds-input, fix sleep inside atomic
Date: Sun, 6 Jun 2010 01:45:06 +0200 [thread overview]
Message-ID: <20100605234505.GZ5358@const.famille.thibault.fr> (raw)
In-Reply-To: <1275772342-25094-1-git-send-email-jslaby@suse.cz>
Jiri Slaby, le Sat 05 Jun 2010 23:12:22 +0200, a écrit :
> Fix this by changing the spinlock to mutex as it is used only in
> input_handler->connect and ->disconnect and it is safe to sleep
> there.
Right. in a previous patch it was also used in interrupt context, but
now it should be safe indeed.
Andrew, please fold it into the leds-input patch.
> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
> Cc: Richard Purdie <rpurdie@rpsys.net>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
BTW, please also Cc authors of files when reporting bugs... :)
Samuel
next prev parent reply other threads:[~2010-06-05 23:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-05 21:12 Jiri Slaby
2010-06-05 23:45 ` Samuel Thibault [this message]
2010-06-16 20:46 ` Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100605234505.GZ5358@const.famille.thibault.fr \
--to=samuel.thibault@ens-lyon.org \
--cc=akpm@linux-foundation.org \
--cc=jirislaby@gmail.com \
--cc=jslaby@suse.cz \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rpurdie@rpsys.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®