]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: SOF: sof-priv.h: optimize snd_sof_platform_stream_params
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 2 Aug 2024 12:46:06 +0000 (14:46 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 2 Aug 2024 13:05:13 +0000 (14:05 +0100)
reshuffle members to remove hole.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://patch.msgid.link/20240802124609.188954-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-priv.h

index 4d6a1517f9b351b4647d8a0a5dd397c47ddcbc4c..28179a57376251af8fe39f04e59668b8fcbff457 100644 (file)
@@ -132,16 +132,17 @@ struct snd_sof_pdata;
 
 /**
  * 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
  *                     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
+ * @cont_update_posn:  Continuous position update.
  */
 struct snd_sof_platform_stream_params {
+       u32 phy_addr;
        u16 stream_tag;
        bool use_phy_address;
-       u32 phy_addr;
        bool no_ipc_position;
        bool cont_update_posn;
 };