Re: [PATCH] ASoC: msm8916-wcd-digital: Add sidetone support

From: Mark Brown
Date: Thu Jun 06 2019 - 07:58:58 EST


On Thu, Jun 06, 2019 at 12:40:02PM +0100, Srinivas Kandagatla wrote:

> + default:
> + pr_err("%s: event = %d not expected\n", __func__, event);
> + }

dev_err() please (and a break; as well, it isn't strictly needed but
stops people having to check that it isn't needed).

> + SOC_SINGLE_EXT("IIR1 Enable Band1", IIR1, BAND1, 1, 0,
> + msm8x16_wcd_get_iir_enable_audio_mixer,
> + msm8x16_wcd_put_iir_enable_audio_mixer),

The indentation here is *really* messed up. What are these controls,
with names like "Enable" they sound like on/off controls in which case
they should be standard Switch controls.

Attachment: signature.asc
Description: PGP signature