nxp SC16IS740을 사용 개발 중에 devm_request_irq() 함수에서 -22 가 리턴되는 문제가
있습니다.
현재 dts에서 SPI 노드 아래에 sc16is740을 구성하였는데 문제가 무엇일까요...
Using nxp SC16IS740 The problem that the devm_request_irq () function returns -22 during development
There is.
I have configured sc16is740 under the SPI node in the current dts. What is the problem ...
/* Setup interrupt */
ret = devm_request_irq(dev, irq, sc16is7xx_irq, flags, dev_name(dev), s);
printk("ttyS : ret=%d, irq=%d, flags=%ld, dev_name=%s, nr_uart=%d\n", ret, irq, flags, dev_name(dev), devtype->nr_uart);
if (!ret)
return 0;
- DTS 문제라면 740 설정 관련 DTS 샘플은 없는지요...
- If there is a DTS problem, there is no DTS sample related to 740 setup ...
Yes, you need to configure the device tree to match with the GPIO of the interrupt of the SC16IS740, not only modify the driver of the device.