Re: [PATCH] ASoC: codecs:rx-macro: Fixing uninitialized variables.

From: Mark Brown
Date: Thu Mar 16 2023 - 12:31:35 EST


On Thu, Mar 16, 2023 at 09:52:49PM +0530, Ravulapati Vishnu Vardhan Rao wrote:

> {
> u16 hd2_scale_reg, hd2_enable_reg;
> + hd2_scale_reg = 0;
> + hd2_enable_reg = 0;
>
> switch (interp_idx) {
> case INTERP_HPHL:

This is just shutting the warning up, it's not like 0 is ever a sensible
value to use there.

Attachment: signature.asc
Description: PGP signature