diff options
author | Stephen Boyd <swboyd@chromium.org> | 2021-01-11 16:13:01 -0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-01-13 12:19:50 +0000 |
commit | eaecba8767835783bdd2f4e72406668cda7d8d54 (patch) | |
tree | 4453e16ce00c0617b21ae3b40fa8f1bc6bdf7794 /drivers/spi | |
parent | 566c6120f095be74862bed35f557f797478abade (diff) | |
download | linux-eaecba8767835783bdd2f4e72406668cda7d8d54.tar.gz linux-eaecba8767835783bdd2f4e72406668cda7d8d54.tar.bz2 linux-eaecba8767835783bdd2f4e72406668cda7d8d54.zip |
spi: spi-qcom-qspi: Use irq trigger flags from firmware
We don't need to force this to be trigger high here, as the firmware
properly configures the irq flags already. Drop it to save a line.
Cc: Douglas Anderson <dianders@chromium.org>
Cc: Rajendra Nayak <rnayak@codeaurora.org>
Cc: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
Cc: Akash Asthana <akashast@codeaurora.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20210112001301.687628-1-swboyd@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-qcom-qspi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/spi/spi-qcom-qspi.c b/drivers/spi/spi-qcom-qspi.c index 8863be370884..1dbcc410cd35 100644 --- a/drivers/spi/spi-qcom-qspi.c +++ b/drivers/spi/spi-qcom-qspi.c @@ -511,8 +511,7 @@ static int qcom_qspi_probe(struct platform_device *pdev) ret = platform_get_irq(pdev, 0); if (ret < 0) return ret; - ret = devm_request_irq(dev, ret, qcom_qspi_irq, - IRQF_TRIGGER_HIGH, dev_name(dev), ctrl); + ret = devm_request_irq(dev, ret, qcom_qspi_irq, 0, dev_name(dev), ctrl); if (ret) { dev_err(dev, "Failed to request irq %d\n", ret); return ret; |