You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[SDW] rt711-sdca: timeout on INT1 and INT2 mask write #2627
The problem is that rt711_sdca_jack_init is called when sdw bus is suspended and we should not try to access sdw register at that moment. #2629 has same root cause, too. The reason why #2627 has higher reproduce rate is that we set regcache_cache_only(rt711->regmap, false); in rt711_sdca_update_status.
Adding a snd_soc_component callback function and set cache only there should fix the issue.
I will cook a PR for that and @shumingfan will refine rt711-sdca codec driver for the usage of regmap.
Activity
bardliao commentedon Dec 17, 2020
I can easily see the issue with the test_sdca_int.txt script
bardliao commentedon Dec 17, 2020
The issue happens if regmap_cache_only is N when soc component is removed.
The call trace is:
The problem is that
rt711_sdca_jack_initis called when sdw bus is suspended and we should not try to access sdw register at that moment.#2629 has same root cause, too. The reason why #2627 has higher reproduce rate is that we set regcache_cache_only(rt711->regmap, false); in
rt711_sdca_update_status.Adding a snd_soc_component callback function and set cache only there should fix the issue.
I will cook a PR for that and @shumingfan will refine rt711-sdca codec driver for the usage of regmap.
mengdonglin commentedon Dec 22, 2020
Fixed by PR #2640 and merged. No reproduced in recent daily test. Closing.