Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 18347

Re: Kernel crash during AD7606 driver probe.

$
0
0

Hi,


The problem doesn't seem to be from the driver, in fact I am able to reproduce the issue even without the driver integrated.

I allocated some GPIO's in the Galileo board file, function intel_qrk_gpio_restrict_probe() and toggled them this issue could be reproduced.

The driver [AD7606], I am trying to integrate, is present in main line kernel since 2.6.x days and it seems to have no issues.

 

root@clanton:~# cat /sys/kernel/debug/gpio

"GPIOs 16-55, cy8c9540a, can sleep:"


The Issue seems to be form the GPIO driver, If I use gpio_set_value_cansleep(), I am able to set the values to the gpio, but ADC can't support buffered captured in this mode, only single capture.

 

Can any one let me know how to get gpio_set_value() function working for GPIO's 16- 55?

How to make sure the gpio driver responsible for the gpio's 16 - 55 doesn't got to sleep?

 

- Simba

 



Viewing all articles
Browse latest Browse all 18347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>