Home
last modified time | relevance | path

Searched hist:f50791ac1aca1ac1b0370d62397b43e9f831421a (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/usb/
H A Dusbnet.cdiff f50791ac1aca1ac1b0370d62397b43e9f831421a Mon Aug 24 15:13:42 CDT 2015 Eugene Shatokhin <eugene.shatokhin@rosalab.ru> usbnet: Get EVENT_NO_RUNTIME_PM bit before it is cleared

It is needed to check EVENT_NO_RUNTIME_PM bit of dev->flags in
usbnet_stop(), but its value should be read before it is cleared
when dev->flags is set to 0.

The problem was spotted and the fix was provided by
Oliver Neukum <oneukum@suse.de>.

Signed-off-by: Eugene Shatokhin <eugene.shatokhin@rosalab.ru>
Acked-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>