[alsa-devel] Question about sound device release timing

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Fri Aug 25 11:01:14 CEST 2017


Hi Takashi-san

> > Thanks !
> > I confirmed that this solved my issue from kernel Oops.
> >  - Renesas Lager board
> >  - Renesas R-Car Salvator-X board
> > 
> > Reported-by: Hiep Cao Minh <cm-hiep at jinso.co.jp>
> > Reported-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> > Tested-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> 
> OK, I'll cook up a proper patch and submit soon later.

Thanks

> > > It's hard to say only from that...  But judging from your description,
> > > it must be relevant with the stale DAPM setup that was left untouched
> > > at the previous driver unbind?  That is, the driver doesn't fully
> > > initialize the hardware at probe.
> > 
> > Thanks.
> > I noticed that my one board could re-bind without issue,
> > but one board had issue. I want to debug it.
> > Do you know which function returns error to user side ?
> > # set_params is only used on soc-compress, but my driver doesn't use it.
> 
> You can try tracing that was recently added by Sakamoto-san.
> The error comes from the unavailable hw_params, that is, some
> hw_params setup narrowed too much.
> 
> Or, if it's about DPCM, it can be due to some stale setup in BE.
> What if you unload/reload the modules, not only rebind?

Thanks. I will check it

Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list