]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: Make snd_sgbuf_get_{ptr|addr}() available for non-SG cases
authorTakashi Iwai <tiwai@suse.de>
Fri, 21 Sep 2012 03:29:12 +0000 (20:29 -0700)
committerTakashi Iwai <tiwai@suse.de>
Sun, 23 Sep 2012 09:24:42 +0000 (11:24 +0200)
commit47574f6799482991ff5813c44b26782f836faf92
treed2f29878332a7c36a6c30128b67b2780c4a44f41
parentd87c5e6449305f7f95796e628c9b129687f7a4f6
ALSA: Make snd_sgbuf_get_{ptr|addr}() available for non-SG cases

Passing struct snd_dma_buffer pointer instead, so that they work no
matter whether real SG buffer is used or not.

This is a preliminary work for the HD-audio DSP loader code.

Signed-off-by: Ian Minett <ian_minett@creativelabs.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/memalloc.h
include/sound/pcm.h
sound/core/pcm_memory.c
sound/core/sgbuf.c