[alsa-devel] [PATCH] ASoC: Change kern log level to avoid unwanted messages

Vinod Koul vinod.koul at intel.com
Fri Dec 8 04:00:53 CET 2017


On Thu, Dec 07, 2017 at 10:32:40PM +0530, Naveen Manohar wrote:
> patch suppresses the warning message "control load not supported"
> as this is a debug information to help debug issues in topology.

Just a note the some users have been complaining about this and this makes
the noise go away.

Acked-By: Vinod Koul <vinod.koul at intel.com>

> Signed-off-by: Naveen Manohar <naveen.m at intel.com>
> 
> diff --git a/sound/soc/intel/skylake/skl-topology.c b/sound/soc/intel/skylake/skl-topology.c
> index a072bcf..81923da 100644
> --- a/sound/soc/intel/skylake/skl-topology.c
> +++ b/sound/soc/intel/skylake/skl-topology.c
> @@ -2908,7 +2908,7 @@ static int skl_tplg_control_load(struct snd_soc_component *cmpnt,
>  		break;
>  
>  	default:
> -		dev_warn(bus->dev, "Control load not supported %d:%d:%d\n",
> +		dev_dbg(bus->dev, "Control load not supported %d:%d:%d\n",
>  			hdr->ops.get, hdr->ops.put, hdr->ops.info);
>  		break;
>  	}
> -- 
> 1.9.1
> 

-- 
~Vinod


More information about the Alsa-devel mailing list