25 Dec
2020
25 Dec
'20
5:46 a.m.
Hi Takashi-san, Lars-Peter
clear there is a deadlock, please see below. In my code I can see that spin_lock_irqsave() is being called in the dw_mci_interrupt() which then calls some other code which again calls spin_lock_irqsave() so I guess that is what the problem is, and I have to restructure my code to avoid that.
I managed to solve my problem by removing the accidentally introduced extra locking call in dw_mci_set_drto(). So now everything seems to work smoothly.
Thanks again for your help! Bert