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

Commit 43c499dc authored by Vinod Koul's avatar Vinod Koul Committed by Takashi Iwai
Browse files

ALSA: asound.h - 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 avatarTakashi Iwai <tiwai@suse.de>
parent f4d77031
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -864,7 +864,7 @@ struct snd_ctl_elem_id {
	snd_ctl_elem_iface_t iface;	/* interface identifier */
	unsigned int device;		/* device/client number */
	unsigned int subdevice;		/* subdevice (substream) number */
	unsigned char name[44];		/* ASCII name of item */
	unsigned char name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN];		/* ASCII name of item */
	unsigned int index;		/* index of item */
};