tags:

views:

172

answers:

0

Hi

As i have completed the xr20M1172 driver.And i am able to access as a uart very well. But one problem i am facing is i am not able to access both uart at a time with i2c communication.

i am running both uarts at a time using i2c-communication.Its giving following bug,and i think deadlock is happening because following message is printing continuously.

/************************* ***************************************************/ BUG: at kernel/mutex.c:132 __mutex_lock_common()

BUG: scheduling while atomic: swapper/0x00010000/0

bad: scheduling from the idle thread!

/*******************************************************************************/

So can you help me regarding this?What may be the problem? Its a linux driver. can we access both uarts at a time? or some procedure is there to for handling both uarts at a time?