summaryrefslogtreecommitdiff
path: root/drivers/usb/phy/phy-ulpi.c
diff options
context:
space:
mode:
authorBen Hutchings <ben.hutchings@codethink.co.uk>2015-01-22 12:41:34 (GMT)
committerDavid S. Miller <davem@davemloft.net>2015-01-27 00:13:15 (GMT)
commit084236d8c53952f14b5cb1741311c80c7fbe8289 (patch)
tree358670a294b84b7523197607bca7efd27f73bc76 /drivers/usb/phy/phy-ulpi.c
parentbd8889163a7f392f89de5bb01ad00f5772c7ea25 (diff)
downloadlinux-084236d8c53952f14b5cb1741311c80c7fbe8289.tar.xz
sh_eth: Fix crash or memory leak when resizing rings on device that is down
If the device is down then no packet buffers should be allocated. We also must not touch its registers as it may be powered off. Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/usb/phy/phy-ulpi.c')
0 files changed, 0 insertions, 0 deletions