All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Hans de Goede <hdegoede@redhat.com>
Cc: stable@vger.kernel.org,
	"José Expósito" <jose.exposito89@gmail.com>,
	"Tobias Gurtzick" <magic@wizardtales.com>
Subject: Re: [PATCH] platform/x86/intel: hid: Add DMI switches allow list
Date: Sun, 3 Oct 2021 16:06:28 +0200	[thread overview]
Message-ID: <YVm45IRcJ3eM387f@kroah.com> (raw)
In-Reply-To: <20211001100932.7907-1-hdegoede@redhat.com>

On Fri, Oct 01, 2021 at 12:09:32PM +0200, Hans de Goede wrote:
> From: José Expósito <jose.exposito89@gmail.com>
> 
> commit b201cb0ebe87b209e252d85668e517ac1929e250 upstream.
> 
> Some devices, even non convertible ones, can send incorrect
> SW_TABLET_MODE reports.
> 
> Add an allow list and accept such reports only from devices in it.
> 
> Bug reported for Dell XPS 17 9710 on:
> https://gitlab.freedesktop.org/libinput/libinput/-/issues/662
> 
> Fixes: ac32bae00083 ("platform/x86: intel-hid: Add alternative method to enable switches")
> Depends-on: 153cca9caa81 ("platform/x86: Add and use a dual_accel_detect() helper")
> Reported-by: Tobias Gurtzick <magic@wizardtales.com>
> Suggested-by: Hans de Goede <hdegoede@redhat.com>
> Tested-by: Tobias Gurtzick <magic@wizardtales.com>
> Signed-off-by: José Expósito <jose.exposito89@gmail.com>
> Link: https://lore.kernel.org/r/20210920160312.9787-1-jose.exposito89@gmail.com
> [hdegoede@redhat.com: Check dmi_switches_auto_add_allow_list only once]
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> ---
>  drivers/platform/x86/intel-hid.c | 27 ++++++++++++++++++++++-----
>  1 file changed, 22 insertions(+), 5 deletions(-)

Now queued up, thanks.

greg k-h

  reply	other threads:[~2021-10-03 14:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-01 10:09 [PATCH] platform/x86/intel: hid: Add DMI switches allow list Hans de Goede
2021-10-03 14:06 ` Greg KH [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-09-20 16:03 José Expósito
2021-09-20 18:43 ` Barnabás Pőcze
2021-09-21 13:13   ` Hans de Goede
2021-09-21 16:28     ` José Expósito

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YVm45IRcJ3eM387f@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=hdegoede@redhat.com \
    --cc=jose.exposito89@gmail.com \
    --cc=magic@wizardtales.com \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.