Name

snd_soc_put_xr_sx — signed multi register get callback

Synopsis

int snd_soc_put_xr_sx (struct snd_kcontrol * kcontrol,
 struct snd_ctl_elem_value * ucontrol);
 

Arguments

kcontrol

mreg control

ucontrol

control element information

Description

Callback to set 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.