[PATCH net v2 0/2] net: renesas: set 'mac_managed_pm' at probe time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When suspending/resuming an interface which was not up, we saw mdiobus
related PM handling despite 'mac_managed_pm' being set for RAVB/SH_ETH.
Heiner kindly suggested the fix to set this flag at probe time, not at
init/open time. I implemented his suggestion and it works fine on these
two Renesas drivers.

Changes since v1:
* added tag from Michal (thanks!)
* split out patches which are for 'net' only (Thanks, Simon!)


Wolfram Sang (2):
  ravb: avoid PHY being resumed when interface is not up
  sh_eth: avoid PHY being resumed when interface is not up

 drivers/net/ethernet/renesas/ravb_main.c | 12 ++++++++++--
 drivers/net/ethernet/renesas/sh_eth.c    | 12 ++++++++++--
 2 files changed, 20 insertions(+), 4 deletions(-)

-- 
2.30.2




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux