lkml.org 
[lkml]   [2013]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH v4 2/5] net/usb/r815x: avoid to call mdio functions for runtime-suspended device
    From
    From: Hayes Wang <hayeswang@realtek.com>
    Date: Wed, 31 Jul 2013 17:21:23 +0800

    > Don't replace the usb_control_msg() with usbnet_{read,write}_cmd()
    > which couldn't be called inside suspend/resume callback. Keep the
    > basic functions unlimited. Instead, using usb_autopm_get_interface()
    > and usb_autopm_put_interface() in r815x_mdio_{read,write}().
    >
    > Signed-off-by: Hayes Wang <hayeswang@realtek.com>

    Applied.


    \
     
     \ /
      Last update: 2013-08-01 00:21    [W:3.280 / U:0.236 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog