Re: [PATCH v1] ALSA: ASoc/tas2781: fixed wrong loading calibrated data sequence

From: Andy Shevchenko
Date: Mon Apr 29 2024 - 05:01:15 EST


On Sat, Apr 27, 2024 at 01:28:57PM +0800, Shenghao Ding wrote:

In the Subject: fixed --> Fix

> Calibrated data will be set to default after loading dsp config params,

DSP

> which will cause speaker protection work abnormally. Reload calibrated
> data after loading dsp config params.

DSP

..

> -// Copyright (C) 2022 - 2023 Texas Instruments Incorporated
> +// Copyright (C) 2022 - 2024 Texas Instruments Incorporated

> -// Copyright 2023 Texas Instruments, Inc.
> +// Copyright 2023 - 2024 Texas Instruments, Inc.

Seems unrelated changes, but harmless.

..

> + load_calib_data(tas_priv,
> + &(cal->dev_data));

Why do you need parentheses for & (dereference) operator?

--
With Best Regards,
Andy Shevchenko