diff options
author | Takashi Iwai <tiwai@suse.de> | 2023-08-15 21:01:17 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-08-18 12:18:19 +0200 |
commit | 9d0fdc602de9d4368ce58da158725d2c43765fd1 (patch) | |
tree | ca542f70307387a3e6908fc829b1d967512237a7 /sound/pci/es1938.c | |
parent | e2964cd7ef58bd97f7acd5340e71d6b7e260fb2d (diff) |
ALSA: emu8000: Convert to generic PCM copy ops
This patch converts the SB Emu8000 driver code to use the new unified
PCM copy callback. The conversion is a bit complicated because of
many open code in emu8000_pcm.c. GET_VAL() and LOOP_WRITE() macros
were rewritten / simplified with copy_from_iter(). As
copy_from_iter() updates the internal offset value, we can drop the
corresponding part, too.
Link: https://lore.kernel.org/r/20230815190136.8987-7-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/es1938.c')
0 files changed, 0 insertions, 0 deletions