diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2023-04-07 18:11:28 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-04-12 09:21:27 +0100 |
commit | ea449f7fa0bf3fcd02e04a770b9ff707bf5e8f96 (patch) | |
tree | 3bf60b78d8a6cb84d7ec0ccaa9b188f0ff3f2d27 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | bbda0f0d151cc05b830bb41ed65c4dc2b616c21e (diff) |
net: ethernet: stmmac: dwmac-rk: rework optional clock handling
The clock requesting code is quite repetitive. Fix this by requesting
the clocks via devm_clk_bulk_get_optional. The optional variant has been
used, since this is effectively what the old code did. The exact clocks
required depend on the platform and configuration. As a side effect
this change adds correct -EPROBE_DEFER handling.
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Suggested-by: Andrew Lunn <andrew@lunn.ch>
Fixes: 7ad269ea1a2b ("GMAC: add driver for Rockchip RK3288 SoCs integrated GMAC")
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions