Skip to content
Commit 721881c4 authored by Neil Armstrong's avatar Neil Armstrong Committed by Tom Rini
Browse files

clk: fix clk_get_bulk when phandle error



This fixes the Coverity Defect CID 175347 when dev_count_phandle_with_args()
returns a negative value.

Fixes: a855be87 ("clk: Add get/enable/disable/release for a bulk of clocks")
Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
parent 895a82ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment