wlan-ap-Telecominfraproject/feeds/ipq95xx/ipq53xx/patches/103-fix_mhi_bus_test.patch
John Crispin 460050a114 ipq50xx: add CIF WF-198 support
Signed-off-by: John Crispin <john@phrozen.org>
2024-02-28 18:56:21 +01:00

15 lines
414 B
Diff

--- a/drivers/bus/mhi/test/mhitest_pci.c
+++ b/drivers/bus/mhi/test/mhitest_pci.c
@@ -547,11 +547,6 @@ int mhitest_pci_register_mhi(struct mhit
mplat->mhi_ctrl = mhi_ctrl;
dev_set_drvdata(&pci_dev->dev, mplat);
mhi_ctrl->cntrl_dev = &pci_dev->dev;
-
- if (!mplat->fw_name) {
- MHITEST_ERR("fw_name is NULLL\n");
- return -EINVAL;
- }
mhi_ctrl->fw_image = mplat->fw_name;
mhi_ctrl->regs = mplat->bar;