linux/sound/xen
Takashi Iwai 390244f5ba 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>
2023-08-18 12:18:25 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile ALSA: xen-front: Use Xen common shared buffer implementation 2018-12-18 12:19:37 -05:00
xen_snd_front_alsa.c ALSA: xen: Convert to generic PCM copy ops 2023-08-18 12:18:25 +02:00
xen_snd_front_alsa.h ALSA: xen-front: Implement ALSA virtual sound driver 2018-05-16 12:59:57 +02:00
xen_snd_front_cfg.c ALSA: Convert strlcpy to strscpy when return value is unused 2021-01-08 09:30:05 +01:00
xen_snd_front_cfg.h
xen_snd_front_evtchnl.c xen/sndfront: use xenbus_setup_ring() and xenbus_teardown_ring() 2022-05-19 14:22:08 +02:00
xen_snd_front_evtchnl.h xen/sound: switch xen_snd_front to use INVALID_GRANT_REF 2022-05-19 14:21:46 +02:00
xen_snd_front.c xen: make remove callback of xen driver void returned 2022-12-15 16:06:10 +01:00
xen_snd_front.h ALSA: xen-front: Use Xen common shared buffer implementation 2018-12-18 12:19:37 -05:00