snd_soc_update_bits (9) - Linux Manuals

snd_soc_update_bits: update codec register bits

NAME

snd_soc_update_bits - update codec register bits

SYNOPSIS

int snd_soc_update_bits(struct snd_soc_codec codec, unsigned int reg, unsigned int mask, unsigned int value);

ARGUMENTS

codec

audio codec

reg

codec register

mask

register mask

value

new value

DESCRIPTION

Writes new register value.

Returns 1 for change, 0 for no change, or negative error code.

COPYRIGHT