---
name: "snd_soc_component_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_component_test_bits"
---

# snd\_soc\_component\_test\_bits(9)

Test register for change

## NAME

snd\_soc\_component\_test\_bits - Test register for change

## SYNOPSIS

**int snd\_soc\_component\_test\_bits(struct snd\_soc\_component \*** *component***, unsigned int** *reg***, unsigned int** *mask***, unsigned int** *value***);**

## ARGUMENTS

*component*

component

*reg*

Register to test

*mask*

Mask that specifies which bits to test

*value*

Value to test against

## DESCRIPTION

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

## RETURN

1 for change, otherwise 0.

## COPYRIGHT
