diff options
author | Takashi Iwai <tiwai@suse.de> | 2023-08-15 21:01:19 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-08-18 12:18:20 +0200 |
commit | 49aa6ed94c5ee3a85fd503748e2df3a432c2a0ec (patch) | |
tree | baf668bfbfa84aa1ecc5846d789e31ad3bc20010 /tools/perf/scripts/python/stackcollapse.py | |
parent | 07ee02a2e12e1b97bdd04fa3e42a67380a60054e (diff) |
ALSA: korg1212: Convert to generic PCM copy ops
This patch converts the korg1212 driver code to use the new unified
PCM copy callback. The open-coded conditional memory copies are
replaced with simpler copy_from/to_iter() calls.
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-9-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions