Re: [PATCH] ASoC: codecs: ES8326: Adding new kcontrols about Headphone resistance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 26, 2024 at 03:45:12PM +0800, Zhang Yi wrote:

> We get headphone detect issue.And we fix it with the new kcontrols

> +static const char *const hp_det_resistance[] = {
> +	"10K",
> +	"5K",
> +};
> +
> +static const char *const micbias_resistance[] = {
> +	"5.5K",
> +	"4.5K",
> +	"3.6K",
> +	"2.8K",
> +	"2.1K",
> +	"1.5K",
> +	"1.0K",
> +	"0.6K",
> +};
> +
> +static const char *const button_resistance[] = {
> +	"100 percent",
> +	"90 percent",
> +	"80 percent",
> +	"70 percent",
> +};

These all look like they should be fixed properties of the system that
come from the hardware design rather than runtime variables in which
case I'd expect them to come from firmware rather than be changed at
runtime.  Unfortunately for x86 systems that'll tend to mean a lot of
per system quirks :(

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux