All of lore.kernel.org
 help / color / mirror / Atom feed
* i2c_add_driver and i2c_new_device handling
       [not found] <CAPrYoTHD0_UDFece-yobwnh7Q5_Vce3a8fO1SpX79QH+1XuEaw@mail.gmail.com>
@ 2013-10-04 14:18 ` Chetan Nanda
  0 siblings, 0 replies; only message in thread
From: Chetan Nanda @ 2013-10-04 14:18 UTC (permalink / raw)
  To: kernelnewbies

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 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-10-04 14:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAPrYoTHD0_UDFece-yobwnh7Q5_Vce3a8fO1SpX79QH+1XuEaw@mail.gmail.com>
2013-10-04 14:18 ` i2c_add_driver and i2c_new_device handling Chetan Nanda

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.