mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 06:31:58 +02:00
wifi: mt76: mt7921: add MT7902 SDIO device support
Register the MT7902 SDIO device ID in the mt7921 driver and add its corresponding firmware and ROM patch names. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Link: https://patch.msgid.link/20260219004007.19733-11-sean.wang@kernel.org Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
c26319afb5
commit
02b7a65719
|
|
@ -19,6 +19,8 @@
|
|||
static const struct sdio_device_id mt7921s_table[] = {
|
||||
{ SDIO_DEVICE(SDIO_VENDOR_ID_MEDIATEK, 0x7901),
|
||||
.driver_data = (kernel_ulong_t)MT7921_FIRMWARE_WM },
|
||||
{ SDIO_DEVICE(SDIO_VENDOR_ID_MEDIATEK, 0x7902),
|
||||
.driver_data = (kernel_ulong_t)MT7902_FIRMWARE_WM },
|
||||
{ } /* Terminating entry */
|
||||
};
|
||||
|
||||
|
|
@ -317,6 +319,8 @@ static int mt7921s_resume(struct device *__dev)
|
|||
MODULE_DEVICE_TABLE(sdio, mt7921s_table);
|
||||
MODULE_FIRMWARE(MT7921_FIRMWARE_WM);
|
||||
MODULE_FIRMWARE(MT7921_ROM_PATCH);
|
||||
MODULE_FIRMWARE(MT7902_FIRMWARE_WM);
|
||||
MODULE_FIRMWARE(MT7902_ROM_PATCH);
|
||||
|
||||
static DEFINE_SIMPLE_DEV_PM_OPS(mt7921s_pm_ops, mt7921s_suspend, mt7921s_resume);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user