4 Sep
2019
4 Sep
'19
3:13 a.m.
Hi Takashi
Thank you for your feedback
I got below error when I unbind/bind CPU DAI. It seems we need to have some kind of lock ?
No, this kind of error usually is due to the missing initialization of the lock object. In this case, the work hasn't been initialized before calling the flush_delayed_work().
I suppose it's an error path at snd_soc_bind_card(), and the patch like below might fix the issue.
I double checked this issue. It seems below 2 things happend in the same time. Thank you. Your feedback/hint helped it. Good things is that there is no issue at upstream code.
1) latest ASoC branch had delayed_work update 2) my local patch didn't care about it
Thank you for your help !! Best regards --- Kuninori Morimoto