From 682bad8cec8fc38d8b15b035569c94800ec653d0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pali=20Roh=C3=A1r?= Date: Tue, 15 Feb 2022 11:23:37 +0100 Subject: [PATCH] arm: a37xx: pci: Update comment about Command/Direct mode MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Code is changing PCIe controller from Command mode to Direct mode. Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese --- drivers/pci/pci-aardvark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/pci-aardvark.c b/drivers/pci/pci-aardvark.c index c795ef10b8..4f7e61ecf1 100644 --- a/drivers/pci/pci-aardvark.c +++ b/drivers/pci/pci-aardvark.c @@ -757,7 +757,7 @@ static int pcie_advk_setup_hw(struct pcie_advk *pcie) int i, wins; u32 reg; - /* Set to Direct mode */ + /* Set from Command to Direct mode */ reg = advk_readl(pcie, ADVK_CORE_CTRL_CONFIG); reg &= ~ADVK_CORE_CTRL_CONFIG_COMMAND_MODE; advk_writel(pcie, reg, ADVK_CORE_CTRL_CONFIG); -- 2.39.5