All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vinod Koul <vinod.koul@intel.com>
To: Chintan Patel <chintan.m.patel@intel.com>
Cc: alsa-devel@alsa-project.org,
	Dharageswari R <dharageswari.r@intel.com>,
	Takashi Sakamoto <takashi.sakamoto@miraclelinux.com>,
	linux-kernel@vger.kernel.org,
	"guneshwor.o.singh@intel.com" <guneshwor.o.singh@intel.com>,
	Takashi Iwai <tiwai@suse.com>,
	Ramesh Babu <ramesh.babu@intel.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>,
	Shreyas NC <shreyas.nc@intel.com>, Jeeja KP <jeeja.kp@intel.com>
Subject: Re: [PATCH v2] ASoC: Intel: Skylake: Decrease loglevel for topology loading
Date: Mon, 16 Oct 2017 11:35:10 +0530	[thread overview]
Message-ID: <20171016060510.GF30097@localhost> (raw)
In-Reply-To: <1507826678-25509-1-git-send-email-chintan.m.patel@intel.com>

On Thu, Oct 12, 2017 at 09:44:37AM -0700, Chintan Patel wrote:
> In case of failure in loading customize topology firmware, dfw_sst.bin
> gets loaded. However, current log provides this message as error even
> after successfully falling back to default topology "dfw_sst.bin".
> 
> Hence to convey proper message, changing log level and message.

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

> Signed-off-by: Chintan Patel <chintan.m.patel@intel.com>
> ---
> Changes in v2:
> Addressing review comments from Takashi Iwai by changing
> loglevel as info
> 
> sound/soc/intel/skylake/skl-topology.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sound/soc/intel/skylake/skl-topology.c b/sound/soc/intel/skylake/skl-topology.c
> index 22f768ca3c73..12f383fd7c39 100644
> --- a/sound/soc/intel/skylake/skl-topology.c
> +++ b/sound/soc/intel/skylake/skl-topology.c
> @@ -3404,7 +3404,7 @@ int skl_tplg_init(struct snd_soc_platform *platform, struct hdac_ext_bus *ebus)
>  
>  	ret = request_firmware(&fw, skl->tplg_name, bus->dev);
>  	if (ret < 0) {
> -		dev_err(bus->dev, "tplg fw %s load failed with %d\n",
> +		dev_info(bus->dev, "tplg fw %s load failed with %d, falling back to dfw_sst.bin",
>  				skl->tplg_name, ret);
>  		ret = request_firmware(&fw, "dfw_sst.bin", bus->dev);
>  		if (ret < 0) {
> -- 
> 1.9.1
> 

-- 
~Vinod

WARNING: multiple messages have this Message-ID (diff)
From: Vinod Koul <vinod.koul@intel.com>
To: Chintan Patel <chintan.m.patel@intel.com>
Cc: Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>,
	Takashi Iwai <tiwai@suse.com>, Jeeja KP <jeeja.kp@intel.com>,
	"guneshwor.o.singh@intel.com" <guneshwor.o.singh@intel.com>,
	Shreyas NC <shreyas.nc@intel.com>,
	Takashi Sakamoto <takashi.sakamoto@miraclelinux.com>,
	Ramesh Babu <ramesh.babu@intel.com>,
	Dharageswari R <dharageswari.r@intel.com>,
	alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] ASoC: Intel: Skylake: Decrease loglevel for topology loading
Date: Mon, 16 Oct 2017 11:35:10 +0530	[thread overview]
Message-ID: <20171016060510.GF30097@localhost> (raw)
In-Reply-To: <1507826678-25509-1-git-send-email-chintan.m.patel@intel.com>

On Thu, Oct 12, 2017 at 09:44:37AM -0700, Chintan Patel wrote:
> In case of failure in loading customize topology firmware, dfw_sst.bin
> gets loaded. However, current log provides this message as error even
> after successfully falling back to default topology "dfw_sst.bin".
> 
> Hence to convey proper message, changing log level and message.

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

> Signed-off-by: Chintan Patel <chintan.m.patel@intel.com>
> ---
> Changes in v2:
> Addressing review comments from Takashi Iwai by changing
> loglevel as info
> 
> sound/soc/intel/skylake/skl-topology.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sound/soc/intel/skylake/skl-topology.c b/sound/soc/intel/skylake/skl-topology.c
> index 22f768ca3c73..12f383fd7c39 100644
> --- a/sound/soc/intel/skylake/skl-topology.c
> +++ b/sound/soc/intel/skylake/skl-topology.c
> @@ -3404,7 +3404,7 @@ int skl_tplg_init(struct snd_soc_platform *platform, struct hdac_ext_bus *ebus)
>  
>  	ret = request_firmware(&fw, skl->tplg_name, bus->dev);
>  	if (ret < 0) {
> -		dev_err(bus->dev, "tplg fw %s load failed with %d\n",
> +		dev_info(bus->dev, "tplg fw %s load failed with %d, falling back to dfw_sst.bin",
>  				skl->tplg_name, ret);
>  		ret = request_firmware(&fw, "dfw_sst.bin", bus->dev);
>  		if (ret < 0) {
> -- 
> 1.9.1
> 

-- 
~Vinod

  reply	other threads:[~2017-10-16  6:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-12 16:44 [PATCH v2] ASoC: Intel: Skylake: Decrease loglevel for topology loading Chintan Patel
2017-10-12 16:44 ` Chintan Patel
2017-10-16  6:05 ` Vinod Koul [this message]
2017-10-16  6:05   ` Vinod Koul

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171016060510.GF30097@localhost \
    --to=vinod.koul@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=chintan.m.patel@intel.com \
    --cc=dharageswari.r@intel.com \
    --cc=guneshwor.o.singh@intel.com \
    --cc=jeeja.kp@intel.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ramesh.babu@intel.com \
    --cc=shreyas.nc@intel.com \
    --cc=takashi.sakamoto@miraclelinux.com \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.