.\" 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_HDA_QUEUE_UNSOL_EVENT" "9" "09 October 2005" "" ""
.SH NAME
snd_hda_queue_unsol_event \- add an unsolicited event to queue
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int snd_hda_queue_unsol_event (struct hda_bus * \fIbus\fB, u32 \fIres\fB, u32 \fIres_ex\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIbus\fB\fR
the BUS
.TP
\fB\fIres\fB\fR
unsolicited event (lower 32bit of RIRB entry)
.TP
\fB\fIres_ex\fB\fR
codec addr and flags (upper 32bit or RIRB entry)
.SH "DESCRIPTION"
.PP
Adds the given event to the queue. The events are processed in
the workqueue asynchronously. Call this function in the interrupt
hanlder when RIRB receives an unsolicited event.
.PP
Returns 0 if successful, or a negative error code.