spi: tegra-quad: Bug fix in the qspi io clk

Instead of choosing the qspi io clk(qsp_pm), the functional
clk has been used(qspi_2x_pm).

Bug 4623718

Change-Id: Ib4044bfa4c001aab24dec908d2b869e9b7aacdbe
Signed-off-by: vinothkumarr <vinothkumarr@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3304007
(cherry picked from commit 2834f6fce74ffbc21168e79c022683aab7790718)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3344831
Tested-by: Vishwaroop A <va@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Vishwaroop A <va@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
vinothkumarr
2025-02-17 06:51:23 +00:00
committed by Jon Hunter
parent 31b5b5d17a
commit 5248eb940d

View File

@@ -1709,7 +1709,7 @@ static int tegra_qspi_probe(struct platform_device *pdev)
tqspi->irq = qspi_irq;
if (!has_acpi_companion(tqspi->dev)) {
tqspi->clk = devm_clk_get(&pdev->dev, "qspi");
tqspi->clk = devm_clk_get(&pdev->dev, "qspi_out");
if (IS_ERR(tqspi->clk)) {
ret = PTR_ERR(tqspi->clk);
dev_err(&pdev->dev, "failed to get clock: %d\n", ret);