All of lore.kernel.org
 help / color / mirror / Atom feed
* Handling hardware error cleanly
@ 2006-11-19 22:29 Lee Revell
  2006-11-20 10:50 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Lee Revell @ 2006-11-19 22:29 UTC (permalink / raw)
  To: alsa-devel; +Cc: Takashi Iwai

I have an ALSA driver that uses a copy() callback for playback, which in
turn schedules a workqueue to deliver the audio to the hardware.  In
certain conditions, writing the data to the hardware can fail.  From the
workqueue handler, how can I indicate to the ALSA middle layer that a
fatal error has occurred and playback must be terminated with -EIO?

Lee


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-20 10:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-19 22:29 Handling hardware error cleanly Lee Revell
2006-11-20 10:50 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.