Changes in I2C driver

3 views
Skip to first unread message

Nikunj Patel

unread,
Feb 11, 2013, 11:50:46 PM2/11/13
to android_...@googlegroups.com
Hello all,


        I have added some printk statements in i2c driver in i2c-dev.c file.
and while bringing up beagleboard xM it shows that printk statements in dmesg. as shown in below snapshot. 



Inline image 1


printk.png

vandana salve

unread,
Feb 12, 2013, 2:22:15 AM2/12/13
to Nikunj Patel, android_...@googlegroups.com
Hi Nikunj,

That's looks good.  I would emphases on trying to print the resources used by I2C devices like interrupt number, base address.
Also try to add prints in interrupt handler and transmit/receive (read/write) path.
This helps to understand the code flow and functionality.

Thanks,
Vandana

--
You received this message because you are subscribed to the Google Groups "Android_oct_2012" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android_oct_20...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

printk.png
Reply all
Reply to author
Forward
0 new messages