summaryrefslogtreecommitdiffstats
path: root/drivers/auxdisplay
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2021-01-15 00:27:44 +0100
committerHans de Goede <hdegoede@redhat.com>2021-01-18 21:38:43 +0100
commitdbd7dd8f8859ac3ab556c76d9b02efb96c26df80 (patch)
treed53d281cc4903ee95803ce1256056b18dc495750 /drivers/auxdisplay
parentbbffaa981940acdfc15ba7b7621a497cd56fa3a4 (diff)
downloadlinux-dbd7dd8f8859ac3ab556c76d9b02efb96c26df80.tar.bz2
platform/x86: hp-wmi: Don't log a warning on HPWMI_RET_UNKNOWN_COMMAND errors
The recently added thermal policy support makes a hp_wmi_perform_query(0x4c, ...) call on older devices which do not support thermal policies this causes the following warning to be logged (seen on a HP Stream x360 Convertible PC 11): [ 26.805305] hp_wmi: query 0x4c returned error 0x3 Error 0x3 is HPWMI_RET_UNKNOWN_COMMAND error. This commit silences the warning for unknown-command errors, silencing the new warning. Cc: Elia Devito <eliadevito@gmail.com> Fixes: 81c93798ef3e ("platform/x86: hp-wmi: add support for thermal policy") Link: https://lore.kernel.org/r/20210114232744.154886-1-hdegoede@redhat.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/auxdisplay')
0 files changed, 0 insertions, 0 deletions