lkml.org 
[lkml]   [2020]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH AUTOSEL 5.7 229/388] usb/ohci-platform: Fix a warning when hibernating
    Hi Sasha/Alan

    On 06/17/20 21:05, Sasha Levin wrote:

    [...]

    > diff --git a/drivers/usb/host/ohci-platform.c b/drivers/usb/host/ohci-platform.c
    > index 7addfc2cbadc..4a8456f12a73 100644
    > --- a/drivers/usb/host/ohci-platform.c
    > +++ b/drivers/usb/host/ohci-platform.c
    > @@ -299,6 +299,11 @@ static int ohci_platform_resume(struct device *dev)
    > }
    >
    > ohci_resume(hcd, false);
    > +
    > + pm_runtime_disable(dev);
    > + pm_runtime_set_active(dev);
    > + pm_runtime_enable(dev);
    > +

    I am not sure what's the protocol here, but the series was fixing similar
    problems to this driver but I didn't myself directly observe a warning because
    of that.

    https://lore.kernel.org/lkml/20200518154931.6144-2-qais.yousef@arm.com/
    https://lore.kernel.org/lkml/20200518154931.6144-3-qais.yousef@arm.com/

    So just pointing it out in case they're worth backporting to stable too.

    Thanks

    --
    Qais Yousef

    \
     
     \ /
      Last update: 2020-06-18 11:56    [W:4.114 / U:0.064 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site