Takashi Iwai 2a1f3368bf ALSA: memalloc: Make SG-buffer helper usable for continuous buffer, too
We have a few helper functions for making the access to the buffer
address easier on SG-buffer.  Those are specific to the buffer that is
allocated with SG-buffer type, and it makes hard to use both SG and
non-SG buffers in the same code.

This patch adds a few simple checks and lets the helpers to deal with
both SG- and continuous buffers gracefully.  It's a preliminary step
for the upcoming patch that mimics the buffer type on the fly.

Link: https://lore.kernel.org/r/20200615160045.2703-4-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2020-06-15 18:01:52 +02:00
..
2019-08-08 16:36:18 +02:00
2020-03-30 13:43:00 +02:00
2019-10-08 13:47:20 +01:00
2017-11-13 15:45:57 +01:00
2019-12-11 22:06:14 +01:00
2019-10-25 11:06:57 +01:00