lkml.org 
[lkml]   [2019]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 4.19 099/243] usb: dwc3: debugfs: Properly print/set link state for HS
    On Wed 2019-12-11 16:04:21, Greg Kroah-Hartman wrote:
    > From: Thinh Nguyen <thinh.nguyen@synopsys.com>
    >
    > [ Upstream commit 0d36dede457873404becd7c9cb9d0f2bcfd0dcd9 ]
    >
    > Highspeed device and below has different state names than superspeed and
    > higher. Add proper checks and printouts of link states for highspeed and
    > below.

    This is debugfs, so I don't believe it was suitable for stable in the
    first place, but....


    > + case DWC3_LINK_STATE_RESUME:
    > + return "Resume";
    > + default:
    > + return "UNKNOWN link state\n";
    > + }

    You may want to delete \n here, it will be duplicated if this ever
    triggers.

    Best regards,
    Pavel
    --
    (english) http://www.livejournal.com/~pavelmachek
    (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2019-12-13 10:35    [W:4.113 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site