diff mbox

Input: elantech - add Fujitsu Lifebook U745 to force crc_enabled

Message ID 1446836485-1006-1-git-send-email-tiwai@suse.de (mailing list archive)
State Accepted
Headers show

Commit Message

Takashi Iwai Nov. 6, 2015, 7:01 p.m. UTC
Another Lifebook machine that needs the same quirk as other similar
models to make the driver working.

Bugzilla: https://bugzilla.opensuse.org/show_bug.cgi?id=883192
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
 drivers/input/mouse/elantech.c | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Dmitry Torokhov Nov. 6, 2015, 7:27 p.m. UTC | #1
On Fri, Nov 06, 2015 at 08:01:25PM +0100, Takashi Iwai wrote:
> Another Lifebook machine that needs the same quirk as other similar
> models to make the driver working.
> 
> Bugzilla: https://bugzilla.opensuse.org/show_bug.cgi?id=883192
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Takashi Iwai <tiwai@suse.de>

Applied, thank you.

> ---
>  drivers/input/mouse/elantech.c | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c
> index 2955f1d0ca6c..537ebb0e193a 100644
> --- a/drivers/input/mouse/elantech.c
> +++ b/drivers/input/mouse/elantech.c
> @@ -1520,6 +1520,13 @@ static const struct dmi_system_id elantech_dmi_force_crc_enabled[] = {
>  			DMI_MATCH(DMI_PRODUCT_NAME, "LIFEBOOK E544"),
>  		},
>  	},
> +	{
> +		/* Fujitsu LIFEBOOK U745 does not work with crc_enabled == 0 */
> +		.matches = {
> +			DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"),
> +			DMI_MATCH(DMI_PRODUCT_NAME, "LIFEBOOK U745"),
> +		},
> +	},
>  #endif
>  	{ }
>  };
> -- 
> 2.6.2
>
diff mbox

Patch

diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c
index 2955f1d0ca6c..537ebb0e193a 100644
--- a/drivers/input/mouse/elantech.c
+++ b/drivers/input/mouse/elantech.c
@@ -1520,6 +1520,13 @@  static const struct dmi_system_id elantech_dmi_force_crc_enabled[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "LIFEBOOK E544"),
 		},
 	},
+	{
+		/* Fujitsu LIFEBOOK U745 does not work with crc_enabled == 0 */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "LIFEBOOK U745"),
+		},
+	},
 #endif
 	{ }
 };