Thread (18 messages) 18 messages, 6 authors, 2018-05-02

[PATCH v3 4/5] soc/tegra: pmc: Use of_clk_get_parent_count() instead of open coding

From: sboyd@kernel.org (Stephen Boyd)
Date: 2018-05-02 15:39:01
Also in: linux-clk, linux-devicetree, linux-gpio, linux-rockchip, linux-tegra, lkml

Quoting Geert Uytterhoeven (2018-04-18 07:50:04)
As of_clk_get_parent_count() returns zero on failure, while
of_count_phandle_with_args() might return a negative error code, this
also fixes the issue of possibly using a very big number in the
allocation below.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
---
Applied to clk-next
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help