[Sound-open-firmware] [RFC PATCH 3/6] pipeline: ignore request for pipeline_prepare() if the pipeline is running

Ranjani Sridharan ranjani.sridharan at linux.intel.com
Thu Jun 14 18:36:23 CEST 2018


On Thu, 2018-06-14 at 08:32 +0100, Liam Girdwood wrote:
> On Wed, 2018-06-13 at 20:29 -0700, Ranjani Sridharan wrote:
> > Ignore pipeline_prepare() calls when the pipeline is running
> > already.
> > This is to prevent errors in the case of hostless pipelines when
> > the user tries to enable the pipeline when it is already active.
> > 
> > Signed-off-by: Ranjani Sridharan <ranjani.sridharan at linux.intel.com
> > >
> 
> 
> Could you explain how this can happen ? What action must the user
> take to do
> this ?
Hi Liam,

This happens when the user sets the kcontrol value to ON repeatedly
with amixer.

But, with xiuli's suggestion to fix the kcontrol IO, i think I can
remove this. I will send you a v2 when I can make the tone audible on
the up squared. 

> 
> Thanks
> 
> Liam


More information about the Sound-open-firmware mailing list