diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2020-08-13 22:01:40 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-08-18 12:50:20 +0200 |
commit | c9b1f82d53930762094af0381c5dc7a8a2b6a86d (patch) | |
tree | 83db0633afe83e072f78ac3a0505ea3ec56656d9 /sound/soc/intel/haswell | |
parent | ASoC: Intel: common: (cosmetic) align function parameters (diff) | |
download | linux-c9b1f82d53930762094af0381c5dc7a8a2b6a86d.tar.xz linux-c9b1f82d53930762094af0381c5dc7a8a2b6a86d.zip |
ASoC: Intel: haswell: (cosmetic) align function parameters
Fix cppcheck warning:
sound/soc/intel/haswell/sst-haswell-ipc.c:963:8: style:inconclusive:
Function 'sst_hsw_stream_new' argument 3 names different: declaration
'get_write_position' definition
'notify_position'. [funcArgNamesDifferent]
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200813200147.61990-15-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/haswell')
-rw-r--r-- | sound/soc/intel/haswell/sst-haswell-ipc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/haswell/sst-haswell-ipc.h b/sound/soc/intel/haswell/sst-haswell-ipc.h index fdc70c77e688..646dbbba327b 100644 --- a/sound/soc/intel/haswell/sst-haswell-ipc.h +++ b/sound/soc/intel/haswell/sst-haswell-ipc.h @@ -414,7 +414,7 @@ int sst_hsw_mixer_get_volume(struct sst_hsw *hsw, u32 stage_id, u32 channel, /* Stream API */ struct sst_hsw_stream *sst_hsw_stream_new(struct sst_hsw *hsw, int id, - u32 (*get_write_position)(struct sst_hsw_stream *stream, void *data), + u32 (*notify_position)(struct sst_hsw_stream *stream, void *data), void *data); int sst_hsw_stream_free(struct sst_hsw *hsw, struct sst_hsw_stream *stream); |