summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2021-06-22 07:33:29 +0300
committerMark Brown <broonie@kernel.org>2021-06-22 14:47:18 +0300
commit9bc146acc33125cd9f365b92f1c02ec89f639977 (patch)
treefcfb94d778a51983fd5ef4f7cab91d2c320ee4d2 /tools/perf/scripts/python/stackcollapse.py
parentd1c02a745179ce9a2ed4c559422bf73bd5d99e1b (diff)
downloadlinux-9bc146acc33125cd9f365b92f1c02ec89f639977.tar.xz
regulator: hi6421v600: Fix setting wrong driver_data
Current code set "config.driver_data = sreg" but sreg only init the mutex, the othere fields are just zero. Fix it by pass *info to config.driver_data so each regulator can get corresponding data by rdev_get_drvdata(). Separate enable_mutex from struct hi6421_spmi_reg_info since only need one mutex for the driver. Fixes: d2dfd50a0b57 ("staging: hikey9xx: hi6421v600-regulator: move LDO config from DT") Signed-off-by: Axel Lin <axel.lin@ingics.com> Link: https://lore.kernel.org/r/20210622043329.392072-1-axel.lin@ingics.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions