Name

snd_soc_limit_volume — Set new limit to an existing volume control.

Synopsis

int snd_soc_limit_volume (struct snd_soc_card * card,
 const char * name,
 int max);
 

Arguments

card

where to look for the control

name

Name of the control

max

new maximum limit

Description

Return 0 for success, else error.