Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
platform/x86: amd-pmc: Fix missing unlock on error in amd_pmc_send_cmd()
BugLink: https://bugs.launchpad.net/bugs/1934809 Add the missing unlock before return from function amd_pmc_send_cmd() in the error handling case. Fixes: 95e1b60 ("platform/x86: amd-pmc: Fix command completion code") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Link: https://lore.kernel.org/r/20210715074327.1966083-1-yangyingliang@huawei.com Signed-off-by: Hans de Goede <hdegoede@redhat.com> (cherry picked from commit 95edbbf linux-next) Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com> Signed-off-by: Timo Aaltonen <timo.aaltonen@canonical.com>
- Loading branch information