commit | e2964cd7ef58bd97f7acd5340e71d6b7e260fb2d | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Tue Aug 15 21:01:16 2023 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Fri Aug 18 12:18:18 2023 +0200 |
tree | dc7571f4cd24d0d14f8dd4d41d33338e7151b8d6 | |
parent | 526a19b3e3ea7cde61c8ac0dcb2796756ef4fa16 [diff] |
ALSA: gus: Convert to generic PCM copy ops This patch converts the GUS driver code to use the new unified PCM copy callback. It's a straightforward conversion from *_user() to *_iter() variants. Note that copy_from/to_iter() returns the copied bytes, hence the error condition is adjusted accordingly. Link: https://lore.kernel.org/r/20230815190136.8987-6-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>