---
name: "snd_ac97_update"
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_ac97_update"
---

# snd\_ac97\_update(9)

update the value on the given register

## NAME

snd\_ac97\_update - update the value on the given register

## SYNOPSIS

**int snd\_ac97\_update(struct snd\_ac97 \*** *ac97***, unsigned short** *reg***, unsigned short** *value***);**

## ARGUMENTS

*ac97*

the ac97 instance

*reg*

the register to change

*value*

the value to set

## DESCRIPTION

Compares the value with the register cache and updates the value only when the value is changed.

## RETURN

1 if the value is changed, 0 if no change, or a negative code on failure.

## COPYRIGHT
