Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 50661fea authored by David Collins's avatar David Collins
Browse files

clk: qcom: common: only register reset controllers which define resets



Add a condition check to ensure that a reset controller is only
registered for a given clock controller inside of the
qcom_cc_really_probe() function if more than 0 resets are
defined for it.

Change-Id: Iffdfce1f7609ccab184a61c4a448a7edc15bb4ab
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent f266d5b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment