Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c359a9f authored by Vinod Koul's avatar Vinod Koul Committed by Mark Brown
Browse files

ASoC: intel - use SNDRV_CTL_ELEM_ID_NAME_MAXLEN



we have defined SNDRV_CTL_ELEM_ID_NAME_MAXLEN as size of name array so use
this define instead of numeric value

Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 3228723b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -695,7 +695,7 @@ struct sst_gain_mixer_control {
	u16 module_id;
	u16 module_id;
	u16 pipe_id;
	u16 pipe_id;
	u16 task_id;
	u16 task_id;
	char pname[44];
	char pname[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];
	struct snd_soc_dapm_widget *w;
	struct snd_soc_dapm_widget *w;
};
};