summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/wireless-hotkey.c
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2022-03-17 22:03:01 +0300
committerHans de Goede <hdegoede@redhat.com>2022-03-18 14:02:40 +0300
commit0c2c21a1fa5b7612fa874b08252e06b34aa4e14a (patch)
tree86538c9ca7e34605fce18bc2de1226b330034220 /drivers/platform/x86/wireless-hotkey.c
parent0d64787e24c6926b60e7d4f07138b9d937925792 (diff)
downloadlinux-0c2c21a1fa5b7612fa874b08252e06b34aa4e14a.tar.xz
platform/x86: amd-pmc: Only report STB errors when STB enabled
Currently if STB is disabled but an earlier function reported an error an incorrect error will be emitted about failing to write to STB. Correct this logic error by only showing errors when STB is enabled. Suggested-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Link: https://lore.kernel.org/r/20220317190301.6818-1-mario.limonciello@amd.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/x86/wireless-hotkey.c')
0 files changed, 0 insertions, 0 deletions