---
name: "snd_soc_test_bits"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/snd_soc_test_bits"
---

# snd\_soc\_test\_bits(9)

test register for change

## 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
