i2c_add_driver and i2c_new_device handling
Oct. 4, 2013
2:18 p.m.
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
4698
Age (days ago)
4698
Last active (days ago)
0 comments
1 participants
participants (1)
-
Chetan Nanda