projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f9974d
)
ASoC: topology: Fix function name
author
Amadeusz Sławiński
<amadeuszx.slawinski@linux.intel.com>
Fri, 27 Jan 2023 23:11:04 +0000
(
00:11
+0100)
committer
Mark Brown
<broonie@kernel.org>
Mon, 30 Jan 2023 16:56:05 +0000
(16:56 +0000)
Functions other than soc_valid_header have soc_tplg_ prefix. Rename
function to follow convention in file.
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link:
https://lore.kernel.org/r/20230127231111.937721-5-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-topology.c
patch
|
blob
|
history
diff --git
a/sound/soc/soc-topology.c
b/sound/soc/soc-topology.c
index b9c29effeb6076edd02c5122a8cbe1b30686a3bc..1fe4fa82fa2f080cf7e5ece823c5820ee37a9f40 100644
(file)
--- a/
sound/soc/soc-topology.c
+++ b/
sound/soc/soc-topology.c
@@
-2389,7
+2389,7
@@
static int soc_tplg_manifest_load(struct soc_tplg *tplg,
}
/* validate header magic, size and type */
-static int soc_valid_header(struct soc_tplg *tplg,
+static int soc_
tplg_
valid_header(struct soc_tplg *tplg,
struct snd_soc_tplg_hdr *hdr)
{
if (soc_tplg_get_hdr_offset(tplg) >= tplg->fw->size)
@@
-2526,7
+2526,7
@@
static int soc_tplg_process_headers(struct soc_tplg *tplg)
while (!soc_tplg_is_eof(tplg)) {
/* make sure header is valid before loading */
- ret = soc_valid_header(tplg, hdr);
+ ret = soc_
tplg_
valid_header(tplg, hdr);
if (ret < 0) {
dev_err(tplg->dev,
"ASoC: topology: invalid header: %d\n", ret);