Commit cfe8cc94 authored by Pierre-Louis Bossart's avatar Pierre-Louis Bossart Committed by Mark Brown

ASoC: Intel: Atom: (cosmetic) align parameters

Fix cppcheck warnings and use same function parameters in headers and
C code.
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200813200147.61990-12-pierre-louis.bossart@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 7b99434c
...@@ -173,6 +173,6 @@ struct sst_data { ...@@ -173,6 +173,6 @@ struct sst_data {
struct snd_soc_card *soc_card; struct snd_soc_card *soc_card;
struct sst_cmd_sba_hw_set_ssp ssp_cmd; struct sst_cmd_sba_hw_set_ssp ssp_cmd;
}; };
int sst_register_dsp(struct sst_device *sst); int sst_register_dsp(struct sst_device *dev);
int sst_unregister_dsp(struct sst_device *sst); int sst_unregister_dsp(struct sst_device *dev);
#endif #endif
...@@ -428,34 +428,34 @@ struct intel_sst_ops { ...@@ -428,34 +428,34 @@ struct intel_sst_ops {
}; };
int sst_realloc_stream(struct intel_sst_drv *sst_drv_ctx, int str_id); int sst_realloc_stream(struct intel_sst_drv *sst_drv_ctx, int str_id);
int sst_pause_stream(struct intel_sst_drv *sst_drv_ctx, int id); int sst_pause_stream(struct intel_sst_drv *sst_drv_ctx, int str_id);
int sst_resume_stream(struct intel_sst_drv *sst_drv_ctx, int id); int sst_resume_stream(struct intel_sst_drv *sst_drv_ctx, int str_id);
int sst_drop_stream(struct intel_sst_drv *sst_drv_ctx, int id); int sst_drop_stream(struct intel_sst_drv *sst_drv_ctx, int str_id);
int sst_free_stream(struct intel_sst_drv *sst_drv_ctx, int id); int sst_free_stream(struct intel_sst_drv *sst_drv_ctx, int str_id);
int sst_start_stream(struct intel_sst_drv *sst_drv_ctx, int str_id); int sst_start_stream(struct intel_sst_drv *sst_drv_ctx, int str_id);
int sst_send_byte_stream_mrfld(struct intel_sst_drv *ctx, int sst_send_byte_stream_mrfld(struct intel_sst_drv *sst_drv_ctx,
struct snd_sst_bytes_v2 *sbytes); struct snd_sst_bytes_v2 *bytes);
int sst_set_stream_param(int str_id, struct snd_sst_params *str_param); int sst_set_stream_param(int str_id, struct snd_sst_params *str_param);
int sst_set_metadata(int str_id, char *params); int sst_set_metadata(int str_id, char *params);
int sst_get_stream(struct intel_sst_drv *sst_drv_ctx, int sst_get_stream(struct intel_sst_drv *ctx,
struct snd_sst_params *str_param); struct snd_sst_params *str_param);
int sst_get_stream_allocated(struct intel_sst_drv *ctx, int sst_get_stream_allocated(struct intel_sst_drv *ctx,
struct snd_sst_params *str_param, struct snd_sst_params *str_param,
struct snd_sst_lib_download **lib_dnld); struct snd_sst_lib_download **lib_dnld);
int sst_drain_stream(struct intel_sst_drv *sst_drv_ctx, int sst_drain_stream(struct intel_sst_drv *sst_drv_ctx,
int str_id, bool partial_drain); int str_id, bool partial_drain);
int sst_post_message_mrfld(struct intel_sst_drv *ctx, int sst_post_message_mrfld(struct intel_sst_drv *sst_drv_ctx,
struct ipc_post *msg, bool sync); struct ipc_post *ipc_msg, bool sync);
void sst_process_reply_mrfld(struct intel_sst_drv *ctx, struct ipc_post *msg); void sst_process_reply_mrfld(struct intel_sst_drv *sst_drv_ctx, struct ipc_post *msg);
int sst_start_mrfld(struct intel_sst_drv *ctx); int sst_start_mrfld(struct intel_sst_drv *sst_drv_ctx);
int intel_sst_reset_dsp_mrfld(struct intel_sst_drv *ctx); int intel_sst_reset_dsp_mrfld(struct intel_sst_drv *sst_drv_ctx);
void intel_sst_clear_intr_mrfld(struct intel_sst_drv *ctx); void intel_sst_clear_intr_mrfld(struct intel_sst_drv *sst_drv_ctx);
int sst_load_fw(struct intel_sst_drv *ctx); int sst_load_fw(struct intel_sst_drv *sst_drv_ctx);
int sst_load_library(struct snd_sst_lib_download *lib, u8 ops); int sst_load_library(struct snd_sst_lib_download *lib, u8 ops);
void sst_post_download_mrfld(struct intel_sst_drv *ctx); void sst_post_download_mrfld(struct intel_sst_drv *ctx);
int sst_get_block_stream(struct intel_sst_drv *sst_drv_ctx); int sst_get_block_stream(struct intel_sst_drv *sst_drv_ctx);
void sst_memcpy_free_resources(struct intel_sst_drv *ctx); void sst_memcpy_free_resources(struct intel_sst_drv *sst_drv_ctx);
int sst_wait_interruptible(struct intel_sst_drv *sst_drv_ctx, int sst_wait_interruptible(struct intel_sst_drv *sst_drv_ctx,
struct sst_block *block); struct sst_block *block);
...@@ -490,7 +490,7 @@ int sst_prepare_and_post_msg(struct intel_sst_drv *sst, ...@@ -490,7 +490,7 @@ int sst_prepare_and_post_msg(struct intel_sst_drv *sst,
bool large, bool fill_dsp, bool sync, bool response); bool large, bool fill_dsp, bool sync, bool response);
void sst_process_pending_msg(struct work_struct *work); void sst_process_pending_msg(struct work_struct *work);
int sst_assign_pvt_id(struct intel_sst_drv *sst_drv_ctx); int sst_assign_pvt_id(struct intel_sst_drv *drv);
int sst_validate_strid(struct intel_sst_drv *sst_drv_ctx, int str_id); int sst_validate_strid(struct intel_sst_drv *sst_drv_ctx, int str_id);
struct stream_info *get_stream_info(struct intel_sst_drv *sst_drv_ctx, struct stream_info *get_stream_info(struct intel_sst_drv *sst_drv_ctx,
int str_id); int str_id);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment