lkml.org 
[lkml]   [2023]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 07/11] ASoC: SOF: core: Skip firmware test for undefined fw_name
From


On 14/12/2023 12:48, Péter Ujfalusi wrote:
> @@ -265,7 +276,9 @@ static void sof_print_profile_info(struct snd_sof_dev *sdev,
> "Using fallback IPC type %d (requested type was %d)\n",
> profile->ipc_type, ipc_type);
>
> - dev_info(dev, "Firmware paths/files for ipc type %d:\n", profile->ipc_type);
> + /* The firmware path only valid when generic loader is used */
> + if (sof_platform_uses_generic_loader(sdev))
> + dev_info(dev, "Firmware paths/files for ipc type %d:\n", profile->ipc_type);
>

This is the correct section in here, sorry:

- dev_info(dev, " Firmware file: %s/%s\n", profile->fw_path, profile->fw_name);
+ /* The firmware path only valid when generic loader is used */
+ if (sof_platform_uses_generic_loader(sdev))
+ dev_info(dev, " Firmware file: %s/%s\n", profile->fw_path, profile->fw_name);
+
if (profile->fw_lib_path)


--
Péter

\
 
 \ /
  Last update: 2023-12-14 12:52    [W:0.745 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site