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

Skip to content
Commit 5c5260ab authored by Ram Chandrasekar's avatar Ram Chandrasekar
Browse files

drivers: lmh-dcvs: Update cooling device registration and register space



Update the cooling device registration path to be done in a workqueue
instead of doing it in the CPU online callback. The registration path
could acquire mutex and could sleep, which makes it not suitable for
doing it in the online path.

Update the driver to queue a work in the CPU online path, which will
register for the CPU cooling device. Update the driver to specify
the OSM and LLM base address in the device tree and to remove the rcu
lock for OPP API calls.

Change-Id: I9ad0b90b7e340db05b2bdb2b584ea5b87bb8bfa8
Signed-off-by: default avatarRam Chandrasekar <rkumbako@codeaurora.org>
parent 5027ffca
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