Re: [PATCH] pinctrl/amd: Add device HID for new AMD GPIO controller

From: Maximilian Luz
Date: Wed May 19 2021 - 20:14:45 EST


On 20/05/2021 01:50, Linus Walleij wrote:
On Wed, May 12, 2021 at 11:03 PM Maximilian Luz <luzmaximilian@xxxxxxxxx> wrote:

Add device HID AMDI0031 to the AMD GPIO controller driver match table.
This controller can be found on Microsoft Surface Laptop 4 devices and
seems similar enough that we can just copy the existing AMDI0030 entry.

Cc: <stable@xxxxxxxxxxxxxxx> # 5.10+

Why? It's hardly a regression?

Because that ID is already in use on the Surface Laptop 4 and
potentially other AMD-based laptops that are already available for
purchase. Not having it in stable means that people may have to deal
with some things not working (as this may prevent other drivers relying
on GPIOs from working) until 5.14 is available on their distribution of
choice.

Given the size of this change, I hardly think that's necessary. Which
is, I believe, also why the stable-kernel-rules doc points out that new
device IDs are (generally) allowed.

Regards,
Max