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

ASoC: SOF: sof-priv.h: optimize snd_sof_platform_stream_params

reshuffle members to remove hole.
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: default avatarRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: default avatarPéter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://patch.msgid.link/20240802124609.188954-2-pierre-louis.bossart@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 9aafe1dd
...@@ -132,16 +132,17 @@ struct snd_sof_pdata; ...@@ -132,16 +132,17 @@ struct snd_sof_pdata;
/** /**
* struct snd_sof_platform_stream_params - platform dependent stream parameters * struct snd_sof_platform_stream_params - platform dependent stream parameters
* @stream_tag: Stream tag to use
* @use_phy_addr: Use the provided @phy_addr for configuration
* @phy_addr: Platform dependent address to be used, if @use_phy_addr * @phy_addr: Platform dependent address to be used, if @use_phy_addr
* is true * is true
* @stream_tag: Stream tag to use
* @use_phy_addr: Use the provided @phy_addr for configuration
* @no_ipc_position: Disable position update IPC from firmware * @no_ipc_position: Disable position update IPC from firmware
* @cont_update_posn: Continuous position update.
*/ */
struct snd_sof_platform_stream_params { struct snd_sof_platform_stream_params {
u32 phy_addr;
u16 stream_tag; u16 stream_tag;
bool use_phy_address; bool use_phy_address;
u32 phy_addr;
bool no_ipc_position; bool no_ipc_position;
bool cont_update_posn; bool cont_update_posn;
}; };
......
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