]> Gentwo Git Trees - linux/.git/commit
PCI: mediatek: Convert bool to single quirks entry and bitmap
authorChristian Marangi <ansuelsmth@gmail.com>
Mon, 20 Oct 2025 11:11:07 +0000 (13:11 +0200)
committerManivannan Sadhasivam <mani@kernel.org>
Tue, 21 Oct 2025 01:59:19 +0000 (07:29 +0530)
commit04305367fab7ec9c98eeba315ad09c8b20abce93
treec7d3b5b9d363fd957cff8b46bf1d5f653be53642
parent6d55d5a7f34b04b3a55dd90a6c3cea5a686e089f
PCI: mediatek: Convert bool to single quirks entry and bitmap

To clean Mediatek SoC PCIe struct, convert all the bool to a bitmap and
use a single quirks to reference all the values. This permits cleaner
addition of new quirk without having to define a new bool in the struct.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patch.msgid.link/20251020111121.31779-4-ansuelsmth@gmail.com
drivers/pci/controller/pcie-mediatek.c