Re: [PATCH] ASoC: sunxi: sun4i-spdif: Implement IEC958 control
From: Mark Brown
Date: Mon Nov 15 2021 - 19:22:47 EST
On Mon, Nov 15, 2021 at 09:08:33PM +0100, Jernej Skrabec wrote:
> + regmap_update_bits(host->regmap, SUN4I_SPDIF_TXCFG,
> + SUN4I_SPDIF_TXCFG_CHSTMODE |
> + SUN4I_SPDIF_TXCFG_NONAUDIO, reg);
> +
> + return 0;
This should return 1 if the status changed, _update_bits_check() can
help here.
Attachment:
signature.asc
Description: PGP signature