All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 4.4] Input: i8042 - Fix misplaced backport of "add ASUS Zenbook Flip to noselftest list"
@ 2022-02-02 14:03 Guillaume Bertholon
  2022-02-02 17:53 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Guillaume Bertholon @ 2022-02-02 14:03 UTC (permalink / raw)
  To: gregkh; +Cc: guillaume.bertholon, stable

The upstream commit b5d6e7ab7fe7 ("Input: i8042 - add ASUS Zenbook Flip to
noselftest list") inserted a new entry in the `i8042_dmi_noselftest_table`
table, further patched by commit daa58c8eec0a ("Input: i8042 - fix Pegatron
C15B ID entry") to insert a missing separator.

However, their backported version in stable (commit e480ccf433be
("Input: i8042 - add ASUS Zenbook Flip to noselftest list") and
commit 7444a4152ac3 ("Input: i8042 - fix Pegatron C15B ID entry"))
inserted this entry in `i8042_dmi_forcemux_table` instead.

This patch moves the entry back into `i8042_dmi_noselftest_table`.

Fixes: e480ccf433be ("Input: i8042 - add ASUS Zenbook Flip to noselftest list")
Signed-off-by: Guillaume Bertholon <guillaume.bertholon@ens.fr>
---
 drivers/input/serio/i8042-x86ia64io.h | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h
index 323b86b..a380676 100644
--- a/drivers/input/serio/i8042-x86ia64io.h
+++ b/drivers/input/serio/i8042-x86ia64io.h
@@ -586,11 +586,6 @@ static const struct dmi_system_id i8042_dmi_forcemux_table[] __initconst = {
 			DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
 			DMI_MATCH(DMI_PRODUCT_NAME, "VGN-CS"),
 		},
-	}, {
-		.matches = {
-			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
-			DMI_MATCH(DMI_CHASSIS_TYPE, "31"), /* Convertible Notebook */
-		},
 	},
 	{ }
 };
@@ -677,6 +672,12 @@ static const struct dmi_system_id i8042_dmi_noselftest_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Z450LA"),
 		},
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_CHASSIS_TYPE, "31"), /* Convertible Notebook */
+		},
+	},
 	{ }
 };
 static const struct dmi_system_id __initconst i8042_dmi_reset_table[] = {
--
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 4.4] Input: i8042 - Fix misplaced backport of "add ASUS Zenbook Flip to noselftest list"
  2022-02-02 14:03 [PATCH 4.4] Input: i8042 - Fix misplaced backport of "add ASUS Zenbook Flip to noselftest list" Guillaume Bertholon
@ 2022-02-02 17:53 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2022-02-02 17:53 UTC (permalink / raw)
  To: Guillaume Bertholon; +Cc: stable

On Wed, Feb 02, 2022 at 03:03:23PM +0100, Guillaume Bertholon wrote:
> The upstream commit b5d6e7ab7fe7 ("Input: i8042 - add ASUS Zenbook Flip to
> noselftest list") inserted a new entry in the `i8042_dmi_noselftest_table`
> table, further patched by commit daa58c8eec0a ("Input: i8042 - fix Pegatron
> C15B ID entry") to insert a missing separator.
> 
> However, their backported version in stable (commit e480ccf433be
> ("Input: i8042 - add ASUS Zenbook Flip to noselftest list") and
> commit 7444a4152ac3 ("Input: i8042 - fix Pegatron C15B ID entry"))
> inserted this entry in `i8042_dmi_forcemux_table` instead.
> 
> This patch moves the entry back into `i8042_dmi_noselftest_table`.
> 
> Fixes: e480ccf433be ("Input: i8042 - add ASUS Zenbook Flip to noselftest list")
> Signed-off-by: Guillaume Bertholon <guillaume.bertholon@ens.fr>
> ---
>  drivers/input/serio/i8042-x86ia64io.h | 11 ++++++-----
>  1 file changed, 6 insertions(+), 5 deletions(-)
> 

Now queued up, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-02 17:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-02 14:03 [PATCH 4.4] Input: i8042 - Fix misplaced backport of "add ASUS Zenbook Flip to noselftest list" Guillaume Bertholon
2022-02-02 17:53 ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.