diff options
| author | Hans de Goede <[email protected]> | 2021-01-14 23:27:44 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2021-01-18 20:41:53 +0000 |
| commit | d35c9a029a73e84d84337403d20b060494890570 (patch) | |
| tree | fc84fad938f424670ae8163470af0b4b6673713f /drivers/usb/cdns3/cdns3-imx.c | |
| parent | platform/x86: intel-vbtn: Drop HP Stream x360 Convertible PC 11 from allow-list (diff) | |
| download | kernel-d35c9a029a73e84d84337403d20b060494890570.tar.gz kernel-d35c9a029a73e84d84337403d20b060494890570.zip | |
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 <[email protected]>
Fixes: 81c93798ef3e ("platform/x86: hp-wmi: add support for thermal policy")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions
