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

Skip to content
Commit 7ed1d261 authored by David Collins's avatar David Collins
Browse files

regulator: spm-regulator: check spm status in probe function



Check the status of the spm driver using msm_spm_probe_done()
inside of the spm-regulator probe function.  Return any error
code from the probe function.  This ensures that spm-regulator
will defer its probe in the case that the spm driver has not
yet probed.

Change-Id: I6d006cee6289bd51e38271e70f81c7a4622016ee
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent c9b29ec5
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