snd_ac97_update(9)

snd_ac97_update9

Update the value on the given register

Usage

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

Overview

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.

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8
  4. 9

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