Re: [PATCH] ASoC: cs42l42: Add HP Volume Scale control

From: Mark Brown
Date: Mon Sep 27 2021 - 07:50:33 EST


On Mon, Sep 27, 2021 at 12:12:44PM +0100, Vitaly Rodionov wrote:

> +static const char * const cs42l42_full_scale_vol_text[] = {
> + "0dB", "-6dB"
> +};
> +
> +static SOC_ENUM_SINGLE_DECL(cs42l42_full_scale_vol_enum, CS42L42_HP_CTL,
> + CS42L42_HP_FULL_SCALE_VOL_SHIFT,
> + cs42l42_full_scale_vol_text);

This looks like it's just a regular volume control that adds/removes an
extra 6dB so I'd expect it to be a normal Volume with TLV info.

Attachment: signature.asc
Description: PGP signature