A20 interrupts in kernel

Started by Krzysiek, February 25, 2016, 03:13:18 PM

Previous topic - Next topic

Krzysiek

Hi

I'm working with interrupts inside of testing Linux Kernel Module. I have two problems. First is when I use function gpio_set_debounce() I get error -22 in dmesg. Does A20 is supporting gpio_set_debounce() function?

Another question is, does anybody saw anywhere source code or declaration of function sw_irq_gpio_request() - it can be found here:
http://www.haoyuelectronics.com/service/A10-A20/A20-Docs/A20_Script%BA%CDGPIO%BF%AA%B7%A2%CB%B5%C3%F7%CE%C4%B5%B5_V1.0.pdf

but I can't found in which library this function exist.

Best regards
Krzysztof

JohnS

Looks non-standard.  Maybe some vendor version of Android?

I'd avoid it.

John