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

Skip to content
Commit 2d855898 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

power: qpnp-fg-gen4: Initialize work and mutex locks early



Currently, all the works are cancelled in fg_gen4_cleanup when it
is invoked when the driver probe fails. When the works are
cancelled even before they're initialized, a warning is printed
out from debug objects. Fix this by initializing them earlier.

Change-Id: Ibe73dd1e7f5aef65b30c331d7878b7dc83b85205
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent 3fe40271
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