Commit 4853931c authored by David Keitel's avatar David Keitel Committed by Linux Build Service Account
Browse files

power: smb349: add spin_lock initializer



Using an unitiliazed spinlock can cause a kernel BUG
in the SMB349 driver.

Fix this by initializing the spinlock in the probe
function.

Change-Id: I9ce691398939f7104b71b58505e2d15dc910328c
Signed-off-by: default avatarDavid Keitel <dkeitel@codeaurora.org>
parent dadf2c4e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment