.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "SND_AC97_UPDATE" "" "06 October 2005" "" ""
.SH NAME
snd_ac97_update \- update the value on the given register
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int snd_ac97_update (ac97_t * \fIac97\fB, unsigned short \fIreg\fB, unsigned short \fIvalue\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIac97\fB\fR
the ac97 instance
.TP
\fB\fIreg\fB\fR
the register to change
.TP
\fB\fIvalue\fB\fR
the value to set
.SH "DESCRIPTION"
.PP
Compares the value with the register cache and updates the value
only when the value is changed.
.PP
Returns 1 if the value is changed, 0 if no change, or a negative
code on failure.