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

Skip to content
Commit d71399d1 authored by Matt Wagantall's avatar Matt Wagantall Committed by Stephen Boyd
Browse files

msm: board-fsm9xxx: Move msm_clock_init() call to fsm9xxx_init()



msm_clock_init() is currently called from fsm9xxx_map_io(). Because
fsm9xxx_map_io() is called before debugfs is available, and the clock
driver attempts to create debugfs nodes when initialized, this order
of events results in a NULL pointer dereference at boot.

Move the msm_clock_init() call from its current location to
fsm9xxx_init(), which is called after debugfs is initialized.

Change-Id: I5ad61f84824a7498f38a81244bc273c507214e65
Signed-off-by: default avatarMatt Wagantall <mattw@codeaurora.org>
parent da96af53
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