diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2020-09-01 14:43:47 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-03 15:06:03 -0700 |
commit | 31bc72d97656af11b89ebf108685ffc8ded8c5f4 (patch) | |
tree | bdb7f6b7c114b61036915be6597ac8cb326ce87a /net/unix/af_unix.c | |
parent | af89606924cf8cbf0a81732b63e0ec8768b0fa1b (diff) |
net: systemport: fetch and use clock resources
We disable clocks shortly after probing the device to save as much power as
possible in case the interface is never used. When bcm_sysport_open() is
invoked, clocks are enabled, and disabled in bcm_sysport_stop().
A similar scheme is applied to the suspend/resume functions.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions