mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Werner Sembach <wse@tuxedocomputers.com>
To: dmitry.torokhov@gmail.com, tiwai@suse.de, mpdesouza@suse.com,
	arnd@arndb.de, hdegoede@redhat.com, samuel@cavoj.net,
	wse@tuxedocomputers.com, linux-input@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH v4] input/i8042: Rework quirk tables
Date: Tue, 22 Mar 2022 17:21:21 +0100	[thread overview]
Message-ID: <20220322162125.59838-1-wse@tuxedocomputers.com> (raw)

Following a suggestion by Hans de Goede, I reworked the quirk tables in the
i8042 driver. Now all quirks only use a single table. This makes quirks
easier to search by device and reduces code line count and memory usage.

The frist patch is minor housekeeping new to this 4th revision

The 2nd patch merges the tables together.

The 3rd patch add optional debug output to see which quirks get applied.

The 4th patch adds a list of Clevo devices that need multiple quirks.
With the reworked table they don't need to be inserted multiple times now,
which was required in v1 and v2 of this patch.

I also included the extra quirk for the Clevo NS7xMU, which was a separate
patch before.

The added Clevo devices are now only identified by their board name as this
is the only somewhat reliable string that might not be changed by resellers.



             reply	other threads:[~2022-03-22 16:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-22 16:21 Werner Sembach [this message]
2022-03-22 16:21 ` [PATCH v4 1/4] input/i8042: Move __initconst to fix code styling warning Werner Sembach
2022-03-28 12:02   ` Hans de Goede
2022-03-22 16:21 ` [PATCH v4 2/4] input/i8042: Merge quirk tables Werner Sembach
2022-03-28 12:02   ` Hans de Goede
2022-03-28 15:57     ` Werner Sembach
2022-03-22 16:21 ` [PATCH v4 3/4] input/i8042: Add debug output for quirks Werner Sembach
2022-03-22 20:50   ` kernel test robot
2022-03-28 12:08     ` Hans de Goede
2022-03-28 16:28       ` Werner Sembach
2022-03-28 16:30         ` Hans de Goede
2022-03-22 23:32   ` kernel test robot
2022-03-22 16:21 ` [PATCH v4 4/4] input/i8042: Add TUXEDO devices to i8042 quirk tables Werner Sembach
2022-03-28 12:10   ` Hans de Goede

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=20220322162125.59838-1-wse@tuxedocomputers.com \
    --to=wse@tuxedocomputers.com \
    --cc=arnd@arndb.de \
    --cc=dmitry.torokhov@gmail.com \
    --cc=hdegoede@redhat.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mpdesouza@suse.com \
    --cc=samuel@cavoj.net \
    --cc=tiwai@suse.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®