From patchwork Mon Nov 14 07:38:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kai-Heng Feng X-Patchwork-Id: 13041907 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5ADD9C433FE for ; Mon, 14 Nov 2022 07:39:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235717AbiKNHjj (ORCPT ); Mon, 14 Nov 2022 02:39:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235617AbiKNHjj (ORCPT ); Mon, 14 Nov 2022 02:39:39 -0500 Received: from smtp-relay-canonical-0.canonical.com (smtp-relay-canonical-0.canonical.com [185.125.188.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33524113; Sun, 13 Nov 2022 23:39:37 -0800 (PST) Received: from localhost.localdomain (unknown [10.101.196.174]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id B68194237F; Mon, 14 Nov 2022 07:39:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1668411572; bh=d7HYXsrjbhkYPHejCgZK/7KqFi0JzRgbIXzSOTLTu7A=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=PfmGUmwB+Z5H5Ap4lwk7IwLS8YrjlfxN4lqauV9bTe4DYVBr4moz3nzKOdv51C9ho aUS23Jpjk+5D7SSART5XV4vjSCjsOnoB9t1uj+jWsibmI+KdesdS7cTyAbs1VCSwMB CWOeoXlAEUukZOkpslQgnkjdjHFXolgYnodjKKsVjft3aePiXrwMlkEcqddMv9/nJk OyVls4dQcsHqwmBgqD6LvF81MU+dGiHb07lazosCO3V1WzjP8aH+mBaVp+iomgF8dO +RRytVX6K7QHwr0mjsi3b2xNk4o3XQaeTJxUymgYfGgVBO1/+DG8e5uwreaqe1p/N6 43UWOYsUTtMvg== From: Kai-Heng Feng To: hdegoede@redhat.com, markgross@kernel.org Cc: Kai-Heng Feng , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] platform/x86: hp-wmi: Ignore Smart Experience App event Date: Mon, 14 Nov 2022 15:38:41 +0800 Message-Id: <20221114073842.205392-1-kai.heng.feng@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org Sometimes hp-wmi driver complains on system resume: [ 483.116451] hp_wmi: Unknown event_id - 33 - 0x0 According to HP it's a feature called "HP Smart Experience App" and it's safe to be ignored. Signed-off-by: Kai-Heng Feng --- drivers/platform/x86/hp-wmi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/platform/x86/hp-wmi.c b/drivers/platform/x86/hp-wmi.c index 12449038bed12..0a99058be8130 100644 --- a/drivers/platform/x86/hp-wmi.c +++ b/drivers/platform/x86/hp-wmi.c @@ -90,6 +90,7 @@ enum hp_wmi_event_ids { HPWMI_PEAKSHIFT_PERIOD = 0x0F, HPWMI_BATTERY_CHARGE_PERIOD = 0x10, HPWMI_SANITIZATION_MODE = 0x17, + HPWMI_SMART_EXPERIENCE_APP = 0x21, }; /* @@ -859,6 +860,8 @@ static void hp_wmi_notify(u32 value, void *context) break; case HPWMI_SANITIZATION_MODE: break; + case HPWMI_SMART_EXPERIENCE_APP: + break; default: pr_info("Unknown event_id - %d - 0x%x\n", event_id, event_data); break;