PCI: qcom: Fix a bitwise vs logical NOT typo
Fix a typo that accidentally sets "val" to zero when we intended just to
clear BIT(0).
Fixes: 90d52d57cc
("PCI: qcom: Add support for IPQ4019 PCIe controller")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
[lorenzo.pieralisi@arm.com: updated commit log]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Stanimir Varbanov <svarbanov@mm-sol.com>
Acked-by: John Crispin <john@phrozen.org>
This commit is contained in:
parent
011cb23c40
commit
074df25160
|
@ -869,7 +869,7 @@ static int qcom_pcie_init_2_4_0(struct qcom_pcie *pcie)
|
||||||
|
|
||||||
/* enable PCIe clocks and resets */
|
/* enable PCIe clocks and resets */
|
||||||
val = readl(pcie->parf + PCIE20_PARF_PHY_CTRL);
|
val = readl(pcie->parf + PCIE20_PARF_PHY_CTRL);
|
||||||
val &= !BIT(0);
|
val &= ~BIT(0);
|
||||||
writel(val, pcie->parf + PCIE20_PARF_PHY_CTRL);
|
writel(val, pcie->parf + PCIE20_PARF_PHY_CTRL);
|
||||||
|
|
||||||
/* change DBI base address */
|
/* change DBI base address */
|
||||||
|
|
Loading…
Reference in New Issue