ASoC: Remove orphaned prototypes
Subsystems (12)
cover ASoC: Remove orphaned prototypes
Some of the ASoC code either either declares functions that were never implemented or at some point were removed leaving orphaned declarations.
Clean up by removing them. Build tested with make allyesconfig.
Amadeusz Sławiński (22):
ASoC: soc-dai: Remove orphaned DAI suspend/resume prototypes
ASoC: cs48l32: Remove orphaned function prototypes
ASoC: pcm3060: Remove orphaned pcm3060_remove() prototype
ASoC: rt5682: Remove orphaned rt5682_register_component() prototype
ASoC: codecs: rt700: Remove orphaned declarations from rt700.h
ASoC: codecs: rt711: Remove orphaned declarations from rt711.h
ASoC: rt711-sdca: Remove orphaned rt711_sdca_jack_detect() prototype
ASoC: rt712-sdca: Remove orphaned rt712_sdca_jack_detect() prototype
ASoC: rt722-sdca: Remove orphaned rt722_sdca_jack_detect() prototype
ASoC: codecs: pm4125: Remove orphaned SoundWire helper declarations
ASoC: codecs: wcd937x: Remove orphaned SoundWire helper declarations
ASoC: SOF: ops: Remove orphaned snd_sof_dsp_register_poll() prototype
ASoC: SOF: Remove orphaned function prototypes from sof-audio.h
ASoC: SOF: Intel: hda: Remove orphaned hda_dsp_ipc_cmd_done()
prototype
ASoC: Intel: avs: Remove orphaned avs_parse_sched_cfg() prototype
ASoC: Intel: atom: Remove orphaned function prototypes from sst.h
ASoC: mediatek: mt8192: Remove orphaned DAI registration prototypes
ASoC: mediatek: mt8196: Remove orphaned mt8196_dai_set_priv()
prototype
ASoC: mediatek: mt8365: Remove orphaned mt8365_dai_tdm_register()
prototype
ASoC: qcom: qdsp6: Remove orphaned
audioreach_map_memory_position_buffer() prototype
ASoC: rsnd: Remove orphaned function prototypes from rsnd.h
ASoC: ux500: Remove orphaned ux500_msp_dai_set_data_delay() prototype
include/sound/soc-dai.h | 2 -- sound/soc/codecs/cs48l32.h | 4 ---- sound/soc/codecs/pcm3060.h | 1 - sound/soc/codecs/pm4125.h | 16 --------------- sound/soc/codecs/rt5682.h | 1 - sound/soc/codecs/rt700.h | 3 --- sound/soc/codecs/rt711-sdca.h | 1 - sound/soc/codecs/rt711.h | 3 --- sound/soc/codecs/rt712-sdca.h | 1 - sound/soc/codecs/rt722-sdca.h | 1 - sound/soc/codecs/wcd937x.h | 20 ------------------- sound/soc/intel/atom/sst/sst.h | 10 ---------- sound/soc/intel/avs/avs.h | 2 -- sound/soc/mediatek/mt8192/mt8192-afe-common.h | 2 -- sound/soc/mediatek/mt8196/mt8196-afe-common.h | 2 -- sound/soc/mediatek/mt8365/mt8365-afe-common.h | 2 -- sound/soc/qcom/qdsp6/audioreach.h | 1 - sound/soc/renesas/rcar/rsnd.h | 5 ----- sound/soc/sof/intel/hda.h | 1 - sound/soc/sof/ops.h | 4 ---- sound/soc/sof/sof-audio.h | 11 ---------- sound/soc/ux500/ux500_msp_dai.h | 2 -- 22 files changed, 95 deletions(-)
base-commit: e2aee84df35aeadadfbcdb750a3921a0cab03e46
Signature · 1 line
2.56.1
PATCH 1/22 ASoC: soc-dai: Remove orphaned DAI suspend/resume prototypes
snd_soc_dai_suspend() and snd_soc_dai_resume() were removed in commit 450312b640f9 ("ASoC: soc-core: remove DAI suspend/resume"), leaving their prototypes behind in include/sound/soc-dai.h. Remove them.
--- include/sound/soc-dai.h | 2 -- 1 file changed, 2 deletions(-)
include/sound/soc-dai.h +0 -2
@@ -227,8 +227,6 @@ int snd_soc_dai_startup(struct snd_soc_dai *dai, struct snd_pcm_substream *substream);void snd_soc_dai_shutdown (struct snd_soc_dai *dai,struct snd_pcm_substream *substream,int rollback); -void snd_soc_dai_suspend (struct snd_soc_dai *dai); -void snd_soc_dai_resume (struct snd_soc_dai *dai);int snd_soc_dai_compress_new (struct snd_soc_dai *dai,struct snd_soc_pcm_runtime *rtd);bool snd_soc_dai_stream_valid (const struct snd_soc_dai *dai,int stream);
Signature · 1 line
2.56.1
PATCH 2/22 ASoC: cs48l32: Remove orphaned function prototypes
In reply to Amadeusz Sławińskics48l32_enable_asp1_pins(), cs48l32_enable_asp2_pins(), cs48l32_micvdd_voltage_index() and cs48l32_micbias1_voltage_index() have no implementation in the tree. Remove their orphaned prototypes from cs48l32.h.
--- sound/soc/codecs/cs48l32.h | 4 ---- 1 file changed, 4 deletions(-)
sound/soc/codecs/cs48l32.h +0 -4
@@ -395,9 +395,5 @@ struct cs48l32_codec {int cs48l32_apply_patch (struct cs48l32 *cs48l32);int cs48l32_create_regmap (struct spi_device *spi,struct cs48l32 *cs48l32); -int cs48l32_enable_asp1_pins (struct cs48l32_codec *cs48l32_codec); -int cs48l32_enable_asp2_pins (struct cs48l32_codec *cs48l32_codec); -int cs48l32_micvdd_voltage_index (u32 voltage); -int cs48l32_micbias1_voltage_index (u32 voltage);#endif
Signature · 1 line
2.56.1
PATCH 3/22 ASoC: pcm3060: Remove orphaned pcm3060_remove() prototype
In reply to Amadeusz Sławińskipcm3060_remove() was never implemented in the driver. Remove its orphaned function prototype from pcm3060.h.
--- sound/soc/codecs/pcm3060.h | 1 - 1 file changed, 1 deletion(-)
sound/soc/codecs/pcm3060.h +0 -1
@@ -34,7 +34,6 @@ struct pcm3060_priv { };int pcm3060_probe (struct device *dev); -int pcm3060_remove (struct device *dev);/* registers */
Signature · 1 line
2.56.1
PATCH 4/22 ASoC: rt5682: Remove orphaned rt5682_register_component() prototype
In reply to Amadeusz Sławińskirt5682_register_component() was declared in rt5682.h when the driver was split in commit a50067d4f3c1 ("ASoC: rt5682: split i2c driver into separate module"), but was never implemented. Remove the orphaned prototype.
--- sound/soc/codecs/rt5682.h | 1 - 1 file changed, 1 deletion(-)
sound/soc/codecs/rt5682.h +0 -1
@@ -1482,7 +1482,6 @@ void rt5682_jack_detect_handler(struct work_struct *work);bool rt5682_volatile_register (struct device *dev,unsigned int reg);bool rt5682_readable_register (struct device *dev,unsigned int reg); -int rt5682_register_component (struct device *dev);void rt5682_calibrate (struct rt5682_priv *rt5682);void rt5682_reset (struct rt5682_priv *rt5682);int rt5682_parse_dt (struct rt5682_priv *rt5682,struct device *dev);
Signature · 1 line
2.56.1
PATCH 5/22 ASoC: codecs: rt700: Remove orphaned declarations from rt700.h
In reply to Amadeusz Sławińskirt700_runtime_pm and rt700_jack_detect() are not defined anywhere in the tree. Remove their orphaned declarations from rt700.h.
--- sound/soc/codecs/rt700.h | 3 --- 1 file changed, 3 deletions(-)
sound/soc/codecs/rt700.h +0 -3
@@ -8,8 +8,6 @@ #ifndef __RT700_H__ #define __RT700_H__ -extern const struct dev_pm_ops rt700_runtime_pm; - struct rt700_priv { struct snd_soc_component *component; struct regmap *regmap;
@@ -166,6 +164,5 @@ int rt700_io_init(struct device *dev, struct sdw_slave *slave);int rt700_init (struct device *dev,struct regmap *sdw_regmap,struct regmap *regmap,struct sdw_slave *slave); -int rt700_jack_detect (struct rt700_priv *rt700,bool *hp,bool *mic);int rt700_clock_config (struct device *dev);#endif /* __RT700_H__ */
Signature · 1 line
2.56.1
PATCH 6/22 ASoC: codecs: rt711: Remove orphaned declarations from rt711.h
In reply to Amadeusz Sławińskirt711_runtime_pm and rt711_jack_detect() are not defined anywhere in the tree. Remove their orphaned declarations from rt711.h.
--- sound/soc/codecs/rt711.h | 3 --- 1 file changed, 3 deletions(-)
sound/soc/codecs/rt711.h +0 -3
@@ -8,8 +8,6 @@ #ifndef __RT711_H__ #define __RT711_H__ -extern const struct dev_pm_ops rt711_runtime_pm; - struct rt711_priv { struct regmap *regmap; struct regmap *sdw_regmap;
@@ -246,6 +244,5 @@ int rt711_io_init(struct device *dev, struct sdw_slave *slave);int rt711_init (struct device *dev,struct regmap *sdw_regmap,struct regmap *regmap,struct sdw_slave *slave); -int rt711_jack_detect (struct rt711_priv *rt711,bool *hp,bool *mic);int rt711_clock_config (struct device *dev);#endif /* __RT711_H__ */
Signature · 1 line
2.56.1
PATCH 7/22 ASoC: rt711-sdca: Remove orphaned rt711_sdca_jack_detect() prototype
In reply to Amadeusz Sławińskirt711_sdca_jack_detect() is not defined anywhere in the tree. Remove its orphaned function prototype from rt711-sdca.h.
--- sound/soc/codecs/rt711-sdca.h | 1 - 1 file changed, 1 deletion(-)
sound/soc/codecs/rt711-sdca.h +0 -1
@@ -240,5 +240,4 @@ int rt711_sdca_io_init(struct device *dev, struct sdw_slave *slave);int rt711_sdca_init (struct device *dev,struct regmap *regmap,struct regmap *mbq_regmap,struct sdw_slave *slave); -int rt711_sdca_jack_detect (struct rt711_sdca_priv *rt711,bool *hp,bool *mic);#endif /* __RT711_SDCA_H__ */
Signature · 1 line
2.56.1
PATCH 8/22 ASoC: rt712-sdca: Remove orphaned rt712_sdca_jack_detect() prototype
In reply to Amadeusz Sławińskirt712_sdca_jack_detect() is not defined anywhere in the tree. Remove its orphaned function prototype from rt712-sdca.h.
--- sound/soc/codecs/rt712-sdca.h | 1 - 1 file changed, 1 deletion(-)
sound/soc/codecs/rt712-sdca.h +0 -1
@@ -282,5 +282,4 @@ int rt712_sdca_io_init(struct device *dev, struct sdw_slave *slave);int rt712_sdca_init (struct device *dev,struct regmap *regmap,struct regmap *mbq_regmap,struct sdw_slave *slave); -int rt712_sdca_jack_detect (struct rt712_sdca_priv *rt712,bool *hp,bool *mic);#endif /* __RT712_H__ */
Signature · 1 line
2.56.1
PATCH 9/22 ASoC: rt722-sdca: Remove orphaned rt722_sdca_jack_detect() prototype
In reply to Amadeusz Sławińskirt722_sdca_jack_detect() is not defined anywhere in the tree. Remove its orphaned function prototype from rt722-sdca.h.
--- sound/soc/codecs/rt722-sdca.h | 1 - 1 file changed, 1 deletion(-)
sound/soc/codecs/rt722-sdca.h +0 -1
@@ -275,5 +275,4 @@ int rt722_sdca_index_write(struct rt722_sdca_priv *rt722,int rt722_sdca_index_read (struct rt722_sdca_priv *rt722,unsigned int nid,unsigned int reg,unsigned int *value); -int rt722_sdca_jack_detect (struct rt722_sdca_priv *rt722,bool *hp,bool *mic);#endif /* __RT722_H__ */
Signature · 1 line
2.56.1
PATCH 10/22 ASoC: codecs: pm4125: Remove orphaned SoundWire helper declarations
In reply to Amadeusz Sławińskipm4125_sdw_free() and pm4125_sdw_set_sdw_stream() were declared in pm4125.h when the driver was added in commit 8ad529484937 ("ASoC:
codecs: add new pm4125 audio codec driver"), but were never implemented. Remove their orphaned prototypes and stub definitions from pm4125.h.
--- sound/soc/codecs/pm4125.h | 16 ---------------- 1 file changed, 16 deletions(-)
sound/soc/codecs/pm4125.h +0 -16
@@ -221,26 +221,10 @@ struct pm4125_sdw_priv { };#if IS_ENABLED (CONFIG_SND_SOC_PM4125_SDW ) -int pm4125_sdw_free (struct pm4125_sdw_priv *pm4125,struct snd_pcm_substream *substream, -struct snd_soc_dai *dai); -int pm4125_sdw_set_sdw_stream (struct pm4125_sdw_priv *pm4125,struct snd_soc_dai *dai,void *stream, -int direction);int pm4125_sdw_hw_params (struct pm4125_sdw_priv *pm4125,struct snd_pcm_substream *substream,struct snd_pcm_hw_params *params,struct snd_soc_dai *dai);#else -static inline int pm4125_sdw_free (struct pm4125_sdw_priv *pm4125, -struct snd_pcm_substream *substream,struct snd_soc_dai *dai) -{ -return -EOPNOTSUPP ; -} - -static inline int pm4125_sdw_set_sdw_stream (struct pm4125_sdw_priv *pm4125, -struct snd_soc_dai *dai,void *stream,int direction) -{ -return -EOPNOTSUPP ; -} -static inline int pm4125_sdw_hw_params (struct pm4125_sdw_priv *pm4125,struct snd_pcm_substream *substream,struct snd_pcm_hw_params *params,struct snd_soc_dai *dai)
Signature · 1 line
2.56.1
PATCH 11/22 ASoC: codecs: wcd937x: Remove orphaned SoundWire helper declarations
In reply to Amadeusz Sławińskiwcd937x_sdw_free() and wcd937x_sdw_set_sdw_stream() have no implementation or callers in the tree. Remove their orphaned prototypes and stub definitions from wcd937x.h.
--- sound/soc/codecs/wcd937x.h | 20 -------------------- 1 file changed, 20 deletions(-)
sound/soc/codecs/wcd937x.h +0 -20
@@ -526,32 +526,12 @@ struct wcd937x_sdw_priv { };#if IS_ENABLED (CONFIG_SND_SOC_WCD937X_SDW ) -int wcd937x_sdw_free (struct wcd937x_sdw_priv *wcd, -struct snd_pcm_substream *substream, -struct snd_soc_dai *dai); -int wcd937x_sdw_set_sdw_stream (struct wcd937x_sdw_priv *wcd, -struct snd_soc_dai *dai, -void *stream,int direction);int wcd937x_sdw_hw_params (struct wcd937x_sdw_priv *wcd,struct snd_pcm_substream *substream,struct snd_pcm_hw_params *params,struct snd_soc_dai *dai);#else -static inline int wcd937x_sdw_free (struct wcd937x_sdw_priv *wcd, -struct snd_pcm_substream *substream, -struct snd_soc_dai *dai) -{ -return -EOPNOTSUPP ; -} - -static inline int wcd937x_sdw_set_sdw_stream (struct wcd937x_sdw_priv *wcd, -struct snd_soc_dai *dai, -void *stream,int direction) -{ -return -EOPNOTSUPP ; -} - static inline int wcd937x_sdw_hw_params(struct wcd937x_sdw_priv *wcd, struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params,
Signature · 1 line
2.56.1
PATCH 12/22 ASoC: SOF: ops: Remove orphaned snd_sof_dsp_register_poll() prototype
In reply to Amadeusz Sławińskisnd_sof_dsp_register_poll() was declared in ops.h when DSP HW abstraction operations were introduced, but was never implemented. Remove the orphaned prototype.
--- sound/soc/sof/ops.h | 4 ---- 1 file changed, 4 deletions(-)
sound/soc/sof/ops.h +0 -4
@@ -725,9 +725,5 @@ bool snd_sof_dsp_update_bits64(struct snd_sof_dev *sdev, u32 bar,void snd_sof_dsp_update_bits_forced (struct snd_sof_dev *sdev,u32 bar,u32 offset,u32 mask,u32 value); -int snd_sof_dsp_register_poll (struct snd_sof_dev *sdev,u32 bar,u32 offset, -u32 mask,u32 target,u32 timeout_ms, -u32 interval_us); -void snd_sof_dsp_panic (struct snd_sof_dev *sdev,u32 offset,bool non_recoverable);#endif
Signature · 1 line
2.56.1
PATCH 13/22 ASoC: SOF: Remove orphaned function prototypes from sof-audio.h
In reply to Amadeusz Sławińskisnd_sof_control_notify(), snd_sof_ipc_stream_posn() and sof_pcm_dsp_pcm_free() were removed during IPC3 refactoring in commit 10f461d79c2d ("ASoC: SOF: Add IPC3 topology control ops"), commit 2f1f5a438899 ("ASoC: SOF: ipc: Switch over to use the rx_msg ops") and commit 4123c24bd13c ("ASoC: SOF: Introduce IPC3 PCM hw_free op"), leaving their prototypes behind in sof-audio.h. Remove them.
--- sound/soc/sof/sof-audio.h | 11 ----------- 1 file changed, 11 deletions(-)
sound/soc/sof/sof-audio.h +0 -11
@@ -595,8 +595,6 @@ int snd_sof_bytes_ext_get(struct snd_kcontrol *kcontrol, unsigned int size);int snd_sof_bytes_ext_volatile_get (struct snd_kcontrol *kcontrol,unsigned int __user *binary_data,unsigned int size); -void snd_sof_control_notify (struct snd_sof_dev *sdev, -struct sof_ipc_ctrl_data *cdata);/* * Topology.
@@ -605,13 +603,6 @@ void snd_sof_control_notify(struct snd_sof_dev *sdev,*/ int snd_sof_load_topology (struct snd_soc_component *scomp,const char *file); -/* -* Stream IPC -*/ -int snd_sof_ipc_stream_posn (struct snd_soc_component *scomp, -struct snd_sof_pcm *spcm,int direction, -struct sof_ipc_stream_posn *posn); -struct snd_sof_widget *snd_sof_find_swidget (struct snd_soc_component *scomp,const char *name); struct snd_sof_widget *
@@ -708,8 +699,6 @@ int sof_widget_list_prepare(struct snd_sof_dev *sdev, struct snd_sof_pcm *spcm, int dir);void sof_widget_list_unprepare (struct snd_sof_dev *sdev,struct snd_sof_pcm *spcm,int dir);int sof_widget_list_free (struct snd_sof_dev *sdev,struct snd_sof_pcm *spcm,int dir); -int sof_pcm_dsp_pcm_free (struct snd_pcm_substream *substream,struct snd_sof_dev *sdev, -struct snd_sof_pcm *spcm);int sof_pcm_free_all_streams (struct snd_sof_dev *sdev);int get_token_u32 (void *elem,void *object,u32 offset);int get_token_u16 (void *elem,void *object,u32 offset);
Signature · 1 line
2.56.1
PATCH 14/22 ASoC: SOF: Intel: hda: Remove orphaned hda_dsp_ipc_cmd_done() prototype
In reply to Amadeusz Sławińskihda_dsp_ipc_cmd_done() is not defined anywhere in the tree. Remove its orphaned function prototype from sound/soc/sof/intel/hda.h.
--- sound/soc/sof/intel/hda.h | 1 - 1 file changed, 1 deletion(-)
sound/soc/sof/intel/hda.h +0 -1
@@ -757,7 +757,6 @@ int hda_dsp_ipc_get_mailbox_offset(struct snd_sof_dev *sdev);int hda_dsp_ipc_get_window_offset (struct snd_sof_dev *sdev,u32 id);irqreturn_t hda_dsp_ipc_irq_thread (int irq,void *context); -int hda_dsp_ipc_cmd_done (struct snd_sof_dev *sdev,int dir);void hda_dsp_get_state (struct snd_sof_dev *sdev,const char *level); void hda_dsp_dump_ext_rom_status(struct snd_sof_dev *sdev, const char *level,
Signature · 1 line
2.56.1
PATCH 15/22 ASoC: Intel: avs: Remove orphaned avs_parse_sched_cfg() prototype
In reply to Amadeusz Sławińskiavs_parse_sched_cfg() was added to avs.h in commit 62dc545be11d ("ASoC:
Intel: avs: Separate debug symbols") without an implementation. Remove the orphaned prototype.
--- sound/soc/intel/avs/avs.h | 2 -- 1 file changed, 2 deletions(-)
sound/soc/intel/avs/avs.h +0 -2
@@ -357,8 +357,6 @@ int avs_register_component(struct device *dev, const char *name,int avs_register_all_boards (struct avs_dev *adev);void avs_unregister_all_boards (struct avs_dev *adev); -int avs_parse_sched_cfg (struct avs_dev *adev,const char *buf,size_t len); -/* Filesystems integration */ extern const struct attribute_group *avs_attr_groups[];
Signature · 1 line
2.56.1
PATCH 16/22 ASoC: Intel: atom: Remove orphaned function prototypes from sst.h
In reply to Amadeusz Sławińskisst_set_stream_param(), sst_set_metadata(), sst_load_library(), sst_get_block_stream(), intel_sst_register_compress(), intel_sst_remove_compress(), sst_send_sync_msg(), sst_restore_fw_context(), sst_request_firmware_async() and sst_get_acpi_driver_data() have no implementation in the tree. Remove their orphaned prototypes from sst.h.
--- sound/soc/intel/atom/sst/sst.h | 10 ---------- 1 file changed, 10 deletions(-)
sound/soc/intel/atom/sst/sst.h +0 -10
@@ -439,8 +439,6 @@ 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_send_byte_stream_mrfld (struct intel_sst_drv *sst_drv_ctx,struct snd_sst_bytes_v2 *bytes); -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_get_stream (struct intel_sst_drv *ctx,struct snd_sst_params *str_param); int sst_drain_stream(struct intel_sst_drv *sst_drv_ctx,
@@ -453,9 +451,7 @@ int intel_sst_reset_dsp_mrfld(struct intel_sst_drv *sst_drv_ctx);void intel_sst_clear_intr_mrfld (struct intel_sst_drv *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);void sst_post_download_mrfld (struct intel_sst_drv *ctx); -int sst_get_block_stream (struct intel_sst_drv *sst_drv_ctx);void sst_memcpy_free_resources (struct intel_sst_drv *sst_drv_ctx); int sst_wait_timeout(struct intel_sst_drv *sst_drv_ctx,
@@ -463,13 +459,9 @@ int sst_wait_timeout(struct intel_sst_drv *sst_drv_ctx,int sst_create_ipc_msg (struct ipc_post **arg,bool large);int free_stream_context (struct intel_sst_drv *ctx,unsigned int str_id);void sst_clean_stream (struct stream_info *stream); -int intel_sst_register_compress (struct intel_sst_drv *sst); -int intel_sst_remove_compress (struct intel_sst_drv *sst); -int sst_send_sync_msg (int ipc,int str_id);int sst_get_num_channel (struct snd_sst_params *str_param);int sst_get_sfreq (struct snd_sst_params *str_param);int sst_alloc_stream_mrfld (struct intel_sst_drv *sst_drv_ctx,void *params); -void sst_restore_fw_context (void );struct sst_block *sst_create_block (struct intel_sst_drv *ctx,u32 msg_id,u32 drv_id); int sst_create_block_and_ipc_msg(struct ipc_post **arg, bool large,
@@ -478,9 +470,7 @@ int sst_create_block_and_ipc_msg(struct ipc_post **arg, bool large,int sst_free_block (struct intel_sst_drv *ctx,struct sst_block *freed);int sst_wake_up_block (struct intel_sst_drv *ctx,int result,u32 drv_id,u32 ipc,void *data,u32 size); -int sst_request_firmware_async (struct intel_sst_drv *ctx);int sst_driver_ops (struct intel_sst_drv *sst); -struct sst_platform_info *sst_get_acpi_driver_data (const char *hid);void sst_firmware_load_cb (const struct firmware *fw,void *context); int sst_prepare_and_post_msg(struct intel_sst_drv *sst, int task_id, int ipc_msg, int cmd_id, int pipe_id,
Signature · 1 line
2.56.1
PATCH 17/22 ASoC: mediatek: mt8192: Remove orphaned DAI registration prototypes
In reply to Amadeusz Sławińskimt8192_dai_hw_gain_register() and mt8192_dai_src_register() were declared in mt8192-afe-common.h when the driver was added, but were never implemented. Remove the orphaned prototypes.
--- sound/soc/mediatek/mt8192/mt8192-afe-common.h | 2 -- 1 file changed, 2 deletions(-)
sound/soc/mediatek/mt8192/mt8192-afe-common.h +0 -2
@@ -154,8 +154,6 @@ struct mt8192_afe_private {int mt8192_dai_adda_register (struct mtk_base_afe *afe);int mt8192_dai_i2s_register (struct mtk_base_afe *afe); -int mt8192_dai_hw_gain_register (struct mtk_base_afe *afe); -int mt8192_dai_src_register (struct mtk_base_afe *afe);int mt8192_dai_pcm_register (struct mtk_base_afe *afe);int mt8192_dai_tdm_register (struct mtk_base_afe *afe);
Signature · 1 line
2.56.1
PATCH 18/22 ASoC: mediatek: mt8196: Remove orphaned mt8196_dai_set_priv() prototype
In reply to Amadeusz Sławińskimt8196_dai_set_priv() was declared in mt8196-afe-common.h when the header was added, but was never implemented. Remove the orphaned prototype.
--- sound/soc/mediatek/mt8196/mt8196-afe-common.h | 2 -- 1 file changed, 2 deletions(-)
sound/soc/mediatek/mt8196/mt8196-afe-common.h +0 -2
@@ -199,7 +199,5 @@ struct mt8196_afe_private {int mt8196_dai_adda_register (struct mtk_base_afe *afe);int mt8196_dai_i2s_register (struct mtk_base_afe *afe);int mt8196_dai_tdm_register (struct mtk_base_afe *afe); -int mt8196_dai_set_priv (struct mtk_base_afe *afe,int id, -int priv_size,const void *priv_data);#endif
Signature · 1 line
2.56.1
PATCH 19/22 ASoC: mediatek: mt8365: Remove orphaned mt8365_dai_tdm_register() prototype
In reply to Amadeusz Sławińskimt8365_dai_tdm_register() was declared in mt8365-afe-common.h when the header was added, but was never implemented. Remove the orphaned prototype.
--- sound/soc/mediatek/mt8365/mt8365-afe-common.h | 2 -- 1 file changed, 2 deletions(-)
sound/soc/mediatek/mt8365/mt8365-afe-common.h +0 -2
@@ -443,6 +443,4 @@ int mt8365_dai_dmic_register(struct mtk_base_afe *afe);int mt8365_dai_pcm_register (struct mtk_base_afe *afe); -int mt8365_dai_tdm_register (struct mtk_base_afe *afe); -#endif
Signature · 1 line
2.56.1
PATCH 20/22 ASoC: qcom: qdsp6: Remove orphaned audioreach_map_memory_position_buffer() prototype
In reply to Amadeusz Sławińskiaudioreach_map_memory_position_buffer() was declared in audioreach.h in commit 7c1ac23b178a ("ASoC: qcom: audioreach: Add support for shared memory push/pull modules"), but was never implemented. Remove the orphaned prototype.
--- sound/soc/qcom/qdsp6/audioreach.h | 1 - 1 file changed, 1 deletion(-)
sound/soc/qcom/qdsp6/audioreach.h +0 -1
@@ -1047,7 +1047,6 @@ int audioreach_compr_set_param(struct q6apm_graph *graph,int audioreach_setup_push_pull (struct q6apm_graph *graph,phys_addr_t bphys,phys_addr_t pphys,uint32_t mem_map_handle,uint32_t pos_buf_mem_map_handle,uint32_t size); -int audioreach_map_memory_position_buffer (struct q6apm_graph *graph,unsigned int dir);int audioreach_shmem_register_event (struct q6apm_graph *graph,int bytes,int num_levels);#endif /* __AUDIOREACH_H__ */
Signature · 1 line
2.56.1
PATCH 21/22 ASoC: rsnd: Remove orphaned function prototypes from rsnd.h
In reply to Amadeusz Sławińskirsnd_gen_reg_get() and rsnd_ssiu_attach() were removed in commit 55e5b6fd5af0 ("ASoC: rsnd: use regmap instead of original register mapping method") and commit 4e7788fb8018 ("ASoC: rsnd: add SSIU BUSIF support"), leaving their prototypes behind in rsnd.h. Remove them.
--- sound/soc/renesas/rcar/rsnd.h | 5 ----- 1 file changed, 5 deletions(-)
sound/soc/renesas/rcar/rsnd.h +0 -5
@@ -613,9 +613,6 @@ int rsnd_dai_connect(struct rsnd_mod *mod,* R-Car Gen1/Gen2 */ int rsnd_gen_probe (struct rsnd_priv *priv); -void __iomem *rsnd_gen_reg_get (struct rsnd_priv *priv, -struct rsnd_mod *mod, -enum rsnd_reg reg);phys_addr_t rsnd_gen_get_phy_addr (struct rsnd_priv *priv,int reg_id);#ifdef CONFIG_DEBUG_FS void __iomem *rsnd_gen_get_base_addr (struct rsnd_priv *priv,int reg_id);
@@ -849,8 +846,6 @@ unsigned int rsnd_ssi_clk_query(struct rsnd_dai *rdai,/* * R-Car SSIU */ -int rsnd_ssiu_attach (struct rsnd_dai_stream *io, -struct rsnd_mod *mod);int rsnd_ssiu_probe (struct rsnd_priv *priv);void rsnd_ssiu_remove (struct rsnd_priv *priv);void rsnd_ssiu_suspend (struct rsnd_priv *priv);
Signature · 1 line
2.56.1
PATCH 22/22 ASoC: ux500: Remove orphaned ux500_msp_dai_set_data_delay() prototype
In reply to Amadeusz Sławińskiux500_msp_dai_set_data_delay() was declared in ux500_msp_dai.h when the driver was added, but was never implemented. Remove the orphaned prototype.
--- sound/soc/ux500/ux500_msp_dai.h | 2 -- 1 file changed, 2 deletions(-)
sound/soc/ux500/ux500_msp_dai.h +0 -2
@@ -48,6 +48,4 @@ struct ux500_msp_i2s_drvdata { }; -int ux500_msp_dai_set_data_delay (struct snd_soc_dai *dai,int delay); -#endif
Signature · 1 line
2.56.1
Mark Brown
maintainerQuoted 8 lines · Amadeusz Sławiński
ASoC: Remove orphaned prototypes
Some of the ASoC code either either declares functions that were never implemented or at some point were removed leaving orphaned declarations.
Clean up by removing them. Build tested with make allyesconfig.
[...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.5
Thanks!
[01/22] ASoC: soc-dai: Remove orphaned DAI suspend/resume prototypes
https://git.kernel.org/broonie/sound/c/9465c6f63f10 [02/22] ASoC: cs48l32: Remove orphaned function prototypes https://git.kernel.org/broonie/sound/c/d69afb013bc7 [03/22] ASoC: pcm3060: Remove orphaned pcm3060_remove() prototype https://git.kernel.org/broonie/sound/c/11757763268c [04/22] ASoC: rt5682: Remove orphaned rt5682_register_component() prototype https://git.kernel.org/broonie/sound/c/3fd2b98cf393 [05/22] ASoC: codecs: rt700: Remove orphaned declarations from rt700.h https://git.kernel.org/broonie/sound/c/bb5426a6e255 [06/22] ASoC: codecs: rt711: Remove orphaned declarations from rt711.h https://git.kernel.org/broonie/sound/c/4676da1cf7ee [07/22] ASoC: rt711-sdca: Remove orphaned rt711_sdca_jack_detect() prototype https://git.kernel.org/broonie/sound/c/0cae691485d9 [08/22] ASoC: rt712-sdca: Remove orphaned rt712_sdca_jack_detect() prototype https://git.kernel.org/broonie/sound/c/c241c558bcba [09/22] ASoC: rt722-sdca: Remove orphaned rt722_sdca_jack_detect() prototype https://git.kernel.org/broonie/sound/c/f8fe52efa078 [10/22] ASoC: codecs: pm4125: Remove orphaned SoundWire helper declarations https://git.kernel.org/broonie/sound/c/af2b68b0ba01 [11/22] ASoC: codecs: wcd937x: Remove orphaned SoundWire helper declarations https://git.kernel.org/broonie/sound/c/80f56845e202 [12/22] ASoC: SOF: ops: Remove orphaned snd_sof_dsp_register_poll() prototype https://git.kernel.org/broonie/sound/c/434a47f4d2f2 [13/22] ASoC: SOF: Remove orphaned function prototypes from sof-audio.h https://git.kernel.org/broonie/sound/c/282435d20a52 [14/22] ASoC: SOF: Intel: hda: Remove orphaned hda_dsp_ipc_cmd_done() prototype https://git.kernel.org/broonie/sound/c/da3f507464b4 [15/22] ASoC: Intel: avs: Remove orphaned avs_parse_sched_cfg() prototype https://git.kernel.org/broonie/sound/c/06dc42bef334 [16/22] ASoC: Intel: atom: Remove orphaned function prototypes from sst.h https://git.kernel.org/broonie/sound/c/3c13b2613d0b [17/22] ASoC: mediatek: mt8192: Remove orphaned DAI registration prototypes https://git.kernel.org/broonie/sound/c/c76651851f52 [18/22] ASoC: mediatek: mt8196: Remove orphaned mt8196_dai_set_priv() prototype https://git.kernel.org/broonie/sound/c/226d9f059859 [19/22] ASoC: mediatek: mt8365: Remove orphaned mt8365_dai_tdm_register() prototype https://git.kernel.org/broonie/sound/c/861373c60a9a [20/22] ASoC: qcom: qdsp6: Remove orphaned audioreach_map_memory_position_buffer() prototype https://git.kernel.org/broonie/sound/c/1b4fda966515 [21/22] ASoC: rsnd: Remove orphaned function prototypes from rsnd.h https://git.kernel.org/broonie/sound/c/4b1b47b38e41 [22/22] ASoC: ux500: Remove orphaned ux500_msp_dai_set_data_delay() prototype https://git.kernel.org/broonie/sound/c/398c569a032d
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark