spi: spi-msm-geni: Keep IRQ disabled while requesting an IRQ
we are specifically enabling an IRQ at resume/suspend time, hence keep it disabled while registering for an interrupt. Else this results into double enablement and kernel dumps stack. Change-Id: I6a0675d34ba307bbbd76f6e958bc1ffe7bfb2c66 Signed-off-by: Mukesh Kumar Savaliya <quic_msavaliy@quicinc.com>
This commit is contained in:
parent
f852a8b67d
commit
6ab16af158
@ -2136,6 +2136,7 @@ static int spi_geni_probe(struct platform_device *pdev)
|
||||
goto spi_geni_probe_err;
|
||||
}
|
||||
|
||||
irq_set_status_flags(geni_mas->irq, IRQ_NOAUTOEN);
|
||||
ret = devm_request_irq(&pdev->dev, geni_mas->irq,
|
||||
geni_spi_irq, IRQF_TRIGGER_HIGH, "spi_geni", geni_mas);
|
||||
if (ret) {
|
||||
|
Loading…
Reference in New Issue
Block a user