[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <AANLkTim7Q==ndSRDjAFF+tgRFqFory3Q9nJBPEQKuEEo@mail.gmail.com>
Date: Mon, 7 Feb 2011 19:10:18 +0900
From: Minchan Kim <minchan.kim@...il.com>
To: "Rafael J. Wysocki" <rjw@...k.pl>
Cc: Alan Stern <stern@...land.harvard.edu>,
LKML <linux-kernel@...r.kernel.org>,
Linux PM mailing list <linux-pm@...ts.linux-foundation.org>,
Greg KH <greg@...ah.com>
Subject: Re: [PATCH 1/2] USB / Hub: Do not call device_set_wakeup_capable()
under spinlock
On Mon, Feb 7, 2011 at 5:07 AM, Rafael J. Wysocki <rjw@...k.pl> wrote:
> From: Rafael J. Wysocki <rjw@...k.pl>
>
> A subsequent patch will modify device_set_wakeup_capable() in such
> a way that it will call functions which may sleep and therefore it
> shouldn't be called under spinlocks. In preparation for that, modify
> usb_set_device_state() to avoid calling device_set_wakeup_capable()
> under device_state_lock.
>
> Signed-off-by: Rafael J. Wysocki <rjw@...k.pl>
> Acked-by: Greg Kroah-Hartman <gregkh@...e.de>
Reported-by: Minchan Kim <minchan.kim@...il.com>
Tested-by: Minchan Kim <minchan.kim@...il.com>
--
Kind regards,
Minchan Kim
--
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