diff options
author | Takashi Iwai <[email protected]> | 2023-08-15 21:01:28 +0200 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2023-08-18 12:18:57 +0200 |
commit | 44f08b67f2d2c699f2b1784d2aacdf3760a09cc5 (patch) | |
tree | b663be0fba1b01179a7c9b4f35285861ff155f4f /scripts/gdb/linux/rbtree.py | |
parent | 62da99b56f0b43435896c4a5eca050631c99ce4f (diff) |
media: solo6x10: Convert to generic PCM copy ops
This patch converts the solo6x10 driver code to use the new unified
PCM copy callback. It's a straightforward conversion from *_user() to
*_iter() variants. As copy_to_iter() updates the internal offest at
each write, we can drop the dst counter update in the loop, too.
Note that copy_to_iter() returns the copied bytes, hence the error
condition is adjusted accordingly.
Acked-by: Ismael Luceno <[email protected]>
Acked-by: Hans Verkuil <[email protected]>
Cc: Bluecherry Maintainers <[email protected]>
Cc: Anton Sviridenko <[email protected]>
Cc: Andrey Utkin <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/rbtree.py')
0 files changed, 0 insertions, 0 deletions