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

Commit 9cd1b4eb authored by Fenglin Wu's avatar Fenglin Wu
Browse files

platform: msm: spmi: Add flag to make SPMI debugfs write optional



Currently, the SPMI debugfs entries support peek/poke functionality to
access PMIC register directly. This is a possible way to access the PMIC
and change some unexpected setting which is very dangerous. Add a flag
CONFIG_MSM_SPMI_DEBUGFS_RO to make the write operation through debugfs
optional, and make SPMI debugfs write default disabled.

CRs-Fixed: 1103178
Change-Id: Iedbbf57a4a24a18f755a8b304591cc151b10bd4c
Signed-off-by: default avatarFenglin Wu <fenglinw@codeaurora.org>
parent bf10764e
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