diff options
| author | Yang Yingliang <[email protected]> | 2021-07-15 07:43:27 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2021-07-15 08:27:20 +0000 |
| commit | 95edbbf78c3bdbd1daa921dd4a2e61c751e469ba (patch) | |
| tree | 58334fa61e4612bebc9163fe6d861920190f6423 /drivers/usb/cdns3/cdns3-trace.c | |
| parent | platform/x86: wireless-hotkey: remove hardcoded "hp" from the error message (diff) | |
| download | kernel-95edbbf78c3bdbd1daa921dd4a2e61c751e469ba.tar.gz kernel-95edbbf78c3bdbd1daa921dd4a2e61c751e469ba.zip | |
platform/x86: amd-pmc: Fix missing unlock on error in amd_pmc_send_cmd()
Add the missing unlock before return from function amd_pmc_send_cmd()
in the error handling case.
Fixes: 95e1b60f8dc8 ("platform/x86: amd-pmc: Fix command completion code")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Yang Yingliang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions
