diff options
author | Takashi Iwai <tiwai@suse.de> | 2023-08-15 21:01:26 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-08-18 12:18:25 +0200 |
commit | 390244f5ba355a97ff9764d9946fe37eb1b195ce (patch) | |
tree | fd9f6040a5a5f63ba7f507de0366e10dcf42df38 /sound/drivers/pcmtest.c | |
parent | 2f432f4702134fac27677f13aba69ed830984f75 (diff) | |
download | lwn-390244f5ba355a97ff9764d9946fe37eb1b195ce.tar.gz lwn-390244f5ba355a97ff9764d9946fe37eb1b195ce.zip |
ALSA: xen: Convert to generic PCM copy ops
This patch converts the xen frontend 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.
Cc: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Cc: xen-devel@lists.xenproject.org
Link: https://lore.kernel.org/r/20230815190136.8987-16-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers/pcmtest.c')
0 files changed, 0 insertions, 0 deletions