I want to write a character device driver and poll an gpio input state inside this driver (sai1_rxd0).
Is there somebody who can please provide an example codesnippet how i can poll an input at i.MX8MP inside a driver?
I don't want to use interrupts...
Best
Ralf
已解决! 转到解答。