diff options
| author | Christophe JAILLET <[email protected]> | 2020-05-10 15:03:57 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-05-15 16:20:02 +0200 |
| commit | 65f0539b1d063a186723c5c9a7eb17d1962c84a0 (patch) | |
| tree | d54c08884c64f7e1a140407527c3a354eb1d0ceb /tools/perf/scripts/python | |
| parent | 286adb4cce00d2ed37eb20a19ce366d1d58adf42 (diff) | |
firmware: xilinx: Fix an error handling path in 'zynqmp_firmware_probe()'
If 'mfd_add_devices()' fails, we must undo 'zynqmp_pm_api_debugfs_init()'
otherwise some debugfs directory and files will be left.
Just move the call to 'zynqmp_pm_api_debugfs_init()' a few lines below to
fix the issue.
Fixes: e23d9c6d0d49 ("drivers: soc: xilinx: Add ZynqMP power domain driver")
Signed-off-by: Christophe JAILLET <[email protected]>
Reviewed-by: Jolly Shah <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions