---
name: "snd_soc_update_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_update_bits"
---

# snd\_soc\_update\_bits(9)

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
