Re: [PATCH 1/2] phy: ralink: mt7621-pci: add sentinel to quirks table

From: Sergio Paracuellos
Date: Sat Nov 05 2022 - 02:25:36 EST


On Fri, Nov 4, 2022 at 9:54 PM John Thomson
<git@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> With mt7621 soc_dev_attr fixed to register the soc as a device,
> kernel will experience an oops in soc_device_match_attr
>
> This quirk test was introduced in the staging driver in
> commit 9445ccb3714c ("staging: mt7621-pci-phy: add quirks for 'E2'
> revision using 'soc_device_attribute'"). The staging driver was removed,
> and later re-added in commit d87da32372a0 ("phy: ralink: Add PHY driver
> for MT7621 PCIe PHY") for kernel 5.11
>
> Link: https://lore.kernel.org/lkml/26ebbed1-0fe9-4af9-8466-65f841d0b382@xxxxxxxxxxxxxxxx
> Fixes: d87da32372a0 ("phy: ralink: Add PHY driver for MT7621 PCIe PHY")
> Signed-off-by: John Thomson <git@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/phy/ralink/phy-mt7621-pci.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)

Acked-by: Sergio Paracuellos <sergio.paracuellos@xxxxxxxxx>

Thanks,
Sergio Paracuellos