Scroll to navigation

SND_SOC_TEST_BITS(9) ASoC SND_SOC_TEST_BITS(9)

NAME

snd_soc_test_bits - test register for change

SYNOPSIS

int snd_soc_test_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

Tests a register with a new value and checks if the new value is different from the old value.

Returns 1 for change else 0.

COPYRIGHT

April 2019 Kernel Hackers Manual 4.9.