clk: npcm7xx: fix base address and of_clk_get_by_name
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | clk: npcm7xx: get fixed clocks from DTdrivers/ | +77 | 0 replies |
Reviews trailers per patch
The patch has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Rob Herring |
|---|---|
| Series | R-b |
| 1/1 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 0/1] clk: npcm7xx: fix base address and of_clk_get_by_name
Nuvoton NPCM7XX Clock Controller
fix base address and of_clk_get_by_name error handling.
Also update error messages to be more informative.
In case clk_base allocation is erronoeous the return value is null. Also fix handling of of_clk_get_by_name returns an error. Print a better error message pointing to the dt-binding documention.
This patch is re-submitted since it was already pushed to main (just the diff, without the full driver which is already in master branch.)
Signed-off-by Tali Perry <[email protected]>
Reviewed-by Rob Herring <[email protected]>
Signed-off-by Wei Yongjun <[email protected]>
---
Tali Perry (1):
clk: npcm7xx: get fixed clocks from DT
drivers/clk/clk-npcm7xx.c | 101 +++++++++++++++++++++++++++++++++++----------- 1 file changed, 77 insertions(+), 24 deletions(-)
Signature · 1 line
2.14.1