snd_soc_test_bits(9)

snd_soc_test_bits9

Test register for change

Usage

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

Overview

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.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.