snd_soc_get_xr_sx(9)
snd_soc_get_xr_sx - signed multi register get callback
Synopsis
int snd_soc_get_xr_sx(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol);Arguments
kcontrol
- mreg control
ucontrol
- control element information
Description
Callback to get the value of a control that can span multiple codec registers which together forms a single signed value in a MSB/LSB manner. The control supports specifying total no of bits used to allow for bitfields across the multiple codec registers.
Returns 0 for success.