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
pcm_read error occurs when capturing with nocodec DMIC #275
@plbossart this issue is specific to DMIC dai_config. But after sending the ipc to set the dai config in link_load(), the last step is to save the config for all dai's so it can be restored upon resuming from runtime suspend. At the moment only sizeof(struct sof_ipc_dai_config) bytes get copied. In the case of dmic, there are variable number of pdm controller configs making it larger than this size. I am still working on the PR to fix it. I will submit it soon.
Activity
ranj063 commentedon Nov 13, 2018
@keyonjie @plbossart this is due to the added reserved bytes in struct sof_ipc_dai_dmic_params.
Removing the reserved bytes fixes the issue but I cant understand why it would fail in the first place.
ranj063 commentedon Nov 13, 2018
@mengdonglin @libinyang I already have a fix for this. I will submit a PR soon.
ranj063 commentedon Nov 13, 2018
@plbossart the issue is because of the bug in the incorrect dai_config during link_load() while parsing topology
plbossart commentedon Nov 13, 2018
@ranj063 sorry, what "incorrect dai_config" bug are you referring to?
ranj063 commentedon Nov 13, 2018
@plbossart this issue is specific to DMIC dai_config. But after sending the ipc to set the dai config in link_load(), the last step is to save the config for all dai's so it can be restored upon resuming from runtime suspend. At the moment only sizeof(struct sof_ipc_dai_config) bytes get copied. In the case of dmic, there are variable number of pdm controller configs making it larger than this size. I am still working on the PR to fix it. I will submit it soon.
plbossart commentedon Nov 14, 2018
please test and check PR283 fixes the issue.
plbossart commentedon Nov 17, 2018
@markyang can you please close this issue unless you still see a problem?
markyang commentedon Nov 19, 2018
Summary:
The issue cannot be reproduced any more.
driver core: Fix uevent_show() vs driver detach race
selftests/bpf: Add more ring buffer test coverage