lkml.org 
[lkml]   [2011]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 1/2] USB / Hub: Do not call device_set_wakeup_capable() under spinlock
    From
    On Mon, Feb 7, 2011 at 5:07 AM, Rafael J. Wysocki <rjw@sisk.pl> wrote:
    > From: Rafael J. Wysocki <rjw@sisk.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@sisk.pl>
    > Acked-by: Greg Kroah-Hartman <gregkh@suse.de>

    Reported-by: Minchan Kim <minchan.kim@gmail.com>
    Tested-by: Minchan Kim <minchan.kim@gmail.com>

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

    \
     
     \ /
      Last update: 2011-02-07 11:13    [W:0.023 / U:1.252 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site