[PATCH] ASoC: da7219: Fix change notifications for tone generator frequency
Mark Brown
broonie at kernel.org
Sun Apr 17 21:20:24 CEST 2022
On Sat, Apr 16, 2022 at 07:25:20PM +0000, Adam Ward wrote:
> On 16 April 2022 13:53, Mark Brown wrote:
> > mutex_lock(&da7219->ctrl_lock);
> > - ret = regmap_raw_write(da7219->regmap, reg, &val, sizeof(val));
> > + ret = regmap_raw_read(da7219->regmap, reg, &val_old,
> > sizeof(val_old));
> > + if (ret != 0)
> I think you may have intended to confirm success here
Yes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20220417/ced5f3ae/attachment.sig>
More information about the Alsa-devel
mailing list