[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180717124742.31099-1-tali.perry1@gmail.com>
Date: Tue, 17 Jul 2018 15:47:41 +0300
From: Tali Perry <tali.perry1@...il.com>
To: sboyd@...nel.org, brendanhiggins@...gle.com, robh+dt@...nel.org,
mark.rutland@....com, linux@...linux.org.uk,
weiyongjunl@...wei.com, avifishman70@...il.com,
tmaimon77@...il.com, raltherr@...gle.com
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, openbmc@...ts.ozlabs.org,
Tali Perry <tali.perry1@...il.com>,
Wei Yongjun <weiyongjun1@...wei.com>
Subject: [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 <tali.perry1@...il.com>
Reviewed-by: Rob Herring <robh@...nel.org>
Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
---
Tali Perry (1):
clk: npcm7xx: get fixed clocks from DT
drivers/clk/clk-npcm7xx.c | 99 +++++++++++++++++++++++++++++++++++------------
1 file changed, 75 insertions(+), 24 deletions(-)
--
2.14.1
Powered by blists - more mailing lists