[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)
commit130755108ba03461f69da990e54e02a254accd23
tree57d71dc89dc83b87d3e33541bcfe47d045ff82fe
parentd948035a928400ae127c873fbf771389bee18949
[ALSA] PCM - clean up snd_pcm_lib_read/write

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