Re: [PATCH 19/25] ASoC: mediatek: Convert to generic PCM copy ops
From: Mark Brown
Date: Mon Aug 14 2023 - 09:01:15 EST
On Mon, Aug 14, 2023 at 01:55:17PM +0200, Takashi Iwai wrote:
> This patch converts the mediatek BT SCO driver code to use the new
> unified PCM copy callback. It's a straightforward conversion from
> *_user() to *_iter() variants. As copy_form/to_iter() updates the
> internal offset at each read/write, we can drop the cur_*_idx counter
> in the loop, too.
Reviewed-by: Mark Brown <broonie@xxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature