diff options
| author | Andy Shevchenko <[email protected]> | 2021-06-06 19:19:40 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2021-06-18 09:17:47 +0000 |
| commit | 76b7f8fae30a9249f820e019f1e62eca992751a2 (patch) | |
| tree | a6d1b384bee3f258c63988adf39d6cc23c7b004c /drivers/gpu/drm/amd/amdgpu | |
| parent | Linux 5.13-rc6 (diff) | |
| download | kernel-76b7f8fae30a9249f820e019f1e62eca992751a2.tar.gz kernel-76b7f8fae30a9249f820e019f1e62eca992751a2.zip | |
pinctrl: microchip-sgpio: Put fwnode in error case during ->probe()
device_for_each_child_node() bumps a reference counting of a returned variable.
We have to balance it whenever we return to the caller.
Fixes: 7e5ea974e61c ("pinctrl: pinctrl-microchip-sgpio: Add pinctrl driver for Microsemi Serial GPIO")
Cc: Lars Povlsen <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions
