diff options
| author | 2022-10-24 19:48:07 +0800 | |
|---|---|---|
| committer | 2022-10-25 09:13:14 +0200 | |
| commit | 3e5b3418827cefb5e1cc658806f02965791b8f07 (patch) | |
| tree | bc9740e6defe6bc7d366a16c287e6a0394294c77 /samples/git:/ssh:/git@git.zx2c4.com | |
| parent | Merge tag 'ieee802154-for-net-2022-10-24' of git://git.kernel.org/pub/scm/linux/kernel/git/sschmidt/wpan (diff) | |
| download | linux-dev-3e5b3418827cefb5e1cc658806f02965791b8f07.tar.xz linux-dev-3e5b3418827cefb5e1cc658806f02965791b8f07.zip | |
can: mscan: mpc5xxx: mpc5xxx_can_probe(): add missing put_clock() in error path
The commit 1149108e2fbf ("can: mscan: improve clock API use") only
adds put_clock() in mpc5xxx_can_remove() function, forgetting to add
put_clock() in the error handling code.
Fix this bug by adding put_clock() in the error handling code.
Fixes: 1149108e2fbf ("can: mscan: improve clock API use")
Signed-off-by: Dongliang Mu <dzm91@hust.edu.cn>
Link: https://lore.kernel.org/all/20221024133828.35881-1-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'samples/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
