aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2024-05-09 13:33:04 +0000
committerMark Brown <[email protected]>2024-05-09 15:43:57 +0000
commit2a4b49bb58123bad6ec0e07b02845f74c23d5e04 (patch)
tree137521b4f3642a7bcaf6bd3db7e6d7f6260bd376 /arch/powerpc/lib/code-patching.c
parentregulator: rtq2208: Fix the BUCK ramp_delay range to maximum of 16mVstep/us (diff)
downloadkernel-2a4b49bb58123bad6ec0e07b02845f74c23d5e04.tar.gz
kernel-2a4b49bb58123bad6ec0e07b02845f74c23d5e04.zip
regulator: core: fix debugfs creation regression
regulator_get() may sometimes be called more than once for the same consumer device, something which before commit dbe954d8f163 ("regulator: core: Avoid debugfs: Directory ... already present! error") resulted in errors being logged. A couple of recent commits broke the handling of such cases so that attributes are now erroneously created in the debugfs root directory the second time a regulator is requested and the log is filled with errors like: debugfs: File 'uA_load' in directory '/' already present! debugfs: File 'min_uV' in directory '/' already present! debugfs: File 'max_uV' in directory '/' already present! debugfs: File 'constraint_flags' in directory '/' already present! on any further calls. Fixes: 2715bb11cfff ("regulator: core: Fix more error checking for debugfs_create_dir()") Fixes: 08880713ceec ("regulator: core: Streamline debugfs operations") Cc: [email protected] Cc: Geert Uytterhoeven <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions