PCI: qcom: Fix error message for reset_control_assert()

Message ID 20221109094039.25753-1-manivannan.sadhasivam@linaro.org
State New
Headers
Series PCI: qcom: Fix error message for reset_control_assert() |

Commit Message

Manivannan Sadhasivam Nov. 9, 2022, 9:40 a.m. UTC
  Fix the error message to mention "assert" instead of "deassert".

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
 drivers/pci/controller/dwc/pcie-qcom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Vinod Koul Nov. 9, 2022, 11:09 a.m. UTC | #1
On 09-11-22, 15:10, Manivannan Sadhasivam wrote:
> Fix the error message to mention "assert" instead of "deassert".

Reviewed-by: Vinod Koul <vkoul@kernel.org>

> 
> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> ---
>  drivers/pci/controller/dwc/pcie-qcom.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/pci/controller/dwc/pcie-qcom.c b/drivers/pci/controller/dwc/pcie-qcom.c
> index f711acacaeaf..cf27345f6575 100644
> --- a/drivers/pci/controller/dwc/pcie-qcom.c
> +++ b/drivers/pci/controller/dwc/pcie-qcom.c
> @@ -1236,7 +1236,7 @@ static int qcom_pcie_init_2_7_0(struct qcom_pcie *pcie)
>  
>  	ret = reset_control_assert(res->pci_reset);
>  	if (ret < 0) {
> -		dev_err(dev, "cannot deassert pci reset\n");
> +		dev_err(dev, "cannot assert pci reset\n");
>  		goto err_disable_clocks;
>  	}
>  
> -- 
> 2.25.1
  
Lorenzo Pieralisi Nov. 10, 2022, 3:09 p.m. UTC | #2
On Wed, 9 Nov 2022 15:10:39 +0530, Manivannan Sadhasivam wrote:
> Fix the error message to mention "assert" instead of "deassert".
> 
> 

Applied to pci/dwc, thanks!

[1/1] PCI: qcom: Fix error message for reset_control_assert()
      https://git.kernel.org/lpieralisi/pci/c/fba31beab357

Thanks,
Lorenzo
  

Patch

diff --git a/drivers/pci/controller/dwc/pcie-qcom.c b/drivers/pci/controller/dwc/pcie-qcom.c
index f711acacaeaf..cf27345f6575 100644
--- a/drivers/pci/controller/dwc/pcie-qcom.c
+++ b/drivers/pci/controller/dwc/pcie-qcom.c
@@ -1236,7 +1236,7 @@  static int qcom_pcie_init_2_7_0(struct qcom_pcie *pcie)
 
 	ret = reset_control_assert(res->pci_reset);
 	if (ret < 0) {
-		dev_err(dev, "cannot deassert pci reset\n");
+		dev_err(dev, "cannot assert pci reset\n");
 		goto err_disable_clocks;
 	}