On Tue, Aug 30, 2011 at 8:40 AM, sandeep kumar
<
coolsandyforyou@gmail.com> wrote:
> Hi Dave,
>>>Maybe the device that was added before this one entered the atomic
>>>context and forgot to leave it.
>>>>>by this you mean to say that, the earlier device which was created, in
>>>>> its probe...
> it took some spin_lock and forgot to release the lock?
>
>
>>>You said that you called in_atomic() from msm_bus_fabric_probe and
>>>that it returned zero. Did you do this immediately before the
>>>mutex_lock call that's complaining?
>>>>> yes,i tested the in_atomic() just before the call of clk_get() which
>>>>> inturn
> calls clk_sys_get() which takes the mutex_lock().
Maybe try calling might_sleep() instead.