fec: Improve resources handling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | fec: Do not enable/disable optional clocks unconditionallydrivers/ | +16 | 0 replies | |
| 2/6 | fec: Fix the order for enabling/disabling the clocksdrivers/ | +8 | 0 replies | |
| 3/6 | fec: Enable/disable clk_ptp in suspend/resumedrivers/ | +4 | 0 replies | |
| 4/6 | fec: Check the return value from clk_prepare_enable()drivers/ | +54 | 0 replies | |
| 5/6 | fec: Remove unneeded check in platform_get_resource()drivers/ | +1 | 0 replies | |
| 6/6 | fec: Use devm_request_irq()drivers/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] fec: Improve resources handling
This series improves clock handling in the driver by not enabling/disabling the optional ptp and enet_out clocks unconditionally, check for the return value of clk_prepare_enable and also handle clk_ptp in suspend/resume.
Remove an unneeded check in platform_get_resource() and also use devm_request_irq() that can help to simplify the code.
Fabio Estevam (6):
fec: Do not enable/disable optional clocks unconditionally
fec: Fix the order for enabling/disabling the clocks
fec: Enable/disable clk_ptp in suspend/resume
fec: Check the return value from clk_prepare_enable()
fec: Remove unneeded check in platform_get_resource()
fec: Use devm_request_irq()
drivers/net/ethernet/freescale/fec_main.c | 110 ++++++++++++++++++++---------- 1 file changed, 73 insertions(+), 37 deletions(-)
Signature · 1 line
1.8.1.2