i2c_add_driver and i2c_new_device handling
Chetan Nanda
chetannanda at gmail.com
Fri Oct 4 10:18:16 EDT 2013
Hi,
I am writting a driver to control an i2c device.
Is it possible to call 'i2c_add_driver' and 'i2c_new_device' back to back
from module init function?
Currently i am getting error 'Bug scheduling while atomic' on calling
i2c_new_device.
Any pointer to debug furthe will be very helpful.
Thanks,
Chetan Nanda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20131004/c520bfbe/attachment.html
More information about the Kernelnewbies
mailing list