Re: [PATCH] ASoC: DA7219: Exposes clock enable as a mixer setting

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

 



On Fri, Feb 16, 2018 at 01:11:14PM +0530, Akshu Agrawal wrote:

> This is required for designs which uses da7219 in master mode
> and same clks are shared with other codecs. We need to enable
> and disable the clk during playback and capture on other codecs.

> +	/* Clock Enable */
> +	SOC_SINGLE("Clock Enable", DA7219_DAI_CLK_MODE,
> +		   DA7219_DAI_CLK_EN_SHIFT, DA7219_SWITCH_EN_MAX,
> +		   DA7219_NO_INVERT),

No, this isn't something users should be confronted with or have to
manage.  We have a clock API in the kernel, you should arrange for the
CODEC driver to provide a clock via that API and then the users should
be clock API consumers and enable it when they need it.

It's also an on/off control 

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

  Powered by Linux