[PATCH v3 4/9] ASoC: mediatek: mt8192: support add in platform driver
Mark Brown
broonie at kernel.org
Fri Oct 30 11:13:50 EDT 2020
On Sat, Oct 24, 2020 at 03:58:54PM +0800, Jiaxin Yu wrote:
> +/* mtkaif dmic */
> +static const char * const mt8192_adda_off_on_str[] = {
> + "Off", "On"
> +};
> +
> +static const struct soc_enum mt8192_adda_enum[] = {
> + SOC_ENUM_SINGLE_EXT(ARRAY_SIZE(mt8192_adda_off_on_str),
> + mt8192_adda_off_on_str),
> +};
This should be a standard boolean control with a name ending in Switch
rather than an enum.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20201030/9e5e634e/attachment.sig>
More information about the Linux-mediatek
mailing list