mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
ASoC: qcom: q6afe: align function prototype
cppcheck warning: sound/soc/qcom/qdsp6/q6afe.c:1101:63: style:inconclusive: Function 'q6afe_set_lpass_clock' argument 3 names different: declaration 'clk_src' definition 'attri'. [funcArgNamesDifferent] int q6afe_set_lpass_clock(struct device *dev, int clk_id, int attri, ^ sound/soc/qcom/qdsp6/q6afe.h:236:63: note: Function 'q6afe_set_lpass_clock' argument 3 names different: declaration 'clk_src' definition 'attri'. int q6afe_set_lpass_clock(struct device *dev, int clk_id, int clk_src, ^ sound/soc/qcom/qdsp6/q6afe.c:1101:63: note: Function 'q6afe_set_lpass_clock' argument 3 names different: declaration 'clk_src' definition 'attri'. int q6afe_set_lpass_clock(struct device *dev, int clk_id, int attri, ^ Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20210218222916.89809-6-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
12900bacb4
commit
32d4e59cb3
@ -233,7 +233,7 @@ void q6afe_cdc_dma_port_prepare(struct q6afe_port *port,
|
||||
int q6afe_port_set_sysclk(struct q6afe_port *port, int clk_id,
|
||||
int clk_src, int clk_root,
|
||||
unsigned int freq, int dir);
|
||||
int q6afe_set_lpass_clock(struct device *dev, int clk_id, int clk_src,
|
||||
int q6afe_set_lpass_clock(struct device *dev, int clk_id, int attri,
|
||||
int clk_root, unsigned int freq);
|
||||
int q6afe_vote_lpass_core_hw(struct device *dev, uint32_t hw_block_id,
|
||||
char *client_name, uint32_t *client_handle);
|
||||
|
Loading…
Reference in New Issue
Block a user