mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-19 03:06:35 +00:00
27 lines
1.0 KiB
Diff
27 lines
1.0 KiB
Diff
|
From c4defe43ce17a87e6341d126ba736d9f7ebdc541 Mon Sep 17 00:00:00 2001
|
||
|
Message-ID: <c4defe43ce17a87e6341d126ba736d9f7ebdc541.1736962769.git.lorenzo@kernel.org>
|
||
|
From: Lorenzo Bianconi <lorenzo@kernel.org>
|
||
|
Date: Wed, 15 Jan 2025 18:36:26 +0100
|
||
|
Subject: [PATCH] PCI: mediatek-gen3: Remove mac_reset assert leftover for
|
||
|
Airoha EN7581 SoC.
|
||
|
|
||
|
Remove a leftover assert for mac_reset line in mtk_pcie_en7581_power_up().
|
||
|
This is not armful since EN7581 does not requires mac_reset and
|
||
|
mac_reset is not defined in EN7581 device tree.
|
||
|
|
||
|
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
|
||
|
---
|
||
|
drivers/pci/controller/pcie-mediatek-gen3.c | 1 -
|
||
|
1 file changed, 1 deletion(-)
|
||
|
|
||
|
--- a/drivers/pci/controller/pcie-mediatek-gen3.c
|
||
|
+++ b/drivers/pci/controller/pcie-mediatek-gen3.c
|
||
|
@@ -912,7 +912,6 @@ static int mtk_pcie_en7581_power_up(stru
|
||
|
*/
|
||
|
reset_control_bulk_assert(pcie->soc->phy_resets.num_resets,
|
||
|
pcie->phy_resets);
|
||
|
- reset_control_assert(pcie->mac_reset);
|
||
|
|
||
|
/* Wait for the time needed to complete the reset lines assert. */
|
||
|
msleep(PCIE_EN7581_RESET_TIME_MS);
|