diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2024-04-26 10:38:58 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-04-30 00:16:33 +0900 |
commit | b32487ca7b51ce430f15ec785269f11c25a6a560 (patch) | |
tree | 9ad3c349bd3de81b740ead1780175141788538f0 /drivers/rtc/rtc-mv.c | |
parent | 9b4f41684b239eedac96913270db4a5669956671 (diff) | |
download | linux-stable-b32487ca7b51ce430f15ec785269f11c25a6a560.tar.gz linux-stable-b32487ca7b51ce430f15ec785269f11c25a6a560.tar.bz2 linux-stable-b32487ca7b51ce430f15ec785269f11c25a6a560.zip |
ASoC: SOF: debug: Handle cases when fw_lib_prefix is not set, NULL
The firmware libraries are not supported by IPC3, the fw_lib_path is not
a valid parameter and it is always NULL.
Do not create the debugfs file for IPC3 at all as it is not applicable.
With IPC4 some vendors/platforms might not support loadable libraries and
the fw_lib_prefix is left to NULL to indicate this.
Handle such case with allocating "Not supported" string.
Reviewed-by: Marc Herbert <marc.herbert@intel.com>
Fixes: 17f4041244e6 ("ASoC: SOF: debug: show firmware/topology prefix/names")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20240426153902.39560-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/rtc/rtc-mv.c')
0 files changed, 0 insertions, 0 deletions