[ALSA] PCM - clean up snd_pcm_lib_read/write
authorTakashi Iwai <tiwai@suse.de>
Tue, 8 Jan 2008 17:08:14 +0000 (18:08 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:47 +0000 (17:29 +0100)
Introduce a common helper function for snd_pcm_lib_read and snd_pcm_lib_write
for cleaning up the code.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/core/pcm_lib.c

Simple merge