1 Feb 02:56
Re: [PATCH 1/2] sound: soc: add alias for tlv320aic3x
Axel Lin <axel.lin <at> gmail.com>
2012-02-01 01:56:47 GMT
2012-02-01 01:56:47 GMT
2012/2/1 Felipe Contreras <felipe.contreras <at> gmail.com>:
> According to the documentation, should help hotplugging.
>
> Signed-off-by: Felipe Contreras <felipe.contreras <at> gmail.com>
> ---
> sound/soc/codecs/tlv320aic3x.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/sound/soc/codecs/tlv320aic3x.c b/sound/soc/codecs/tlv320aic3x.c
> index 492f22f..00eb29d 100644
> --- a/sound/soc/codecs/tlv320aic3x.c
> +++ b/sound/soc/codecs/tlv320aic3x.c
> @@ -1565,3 +1565,4 @@ module_exit(aic3x_exit);
> MODULE_DESCRIPTION("ASoC TLV320AIC3X codec driver");
> MODULE_AUTHOR("Vladimir Barinov");
> MODULE_LICENSE("GPL");
> +MODULE_ALIAS("i2c:tlv320aic3x");
This is not required because "tlv320aic3x" is already in the aic3x_i2c_id table.
MODULE_DEVICE_TABLE will automatically setup this modalias.
> --
> 1.7.9
>
Liam, if we configure the hw_params in the machine driver statically,
represent the DSP using a map along with a codec kind of modeling.
Would the BEs be triggered on from soc_dsp_runtime_update() when the
loopback is established thru the DSP.
This way we avoid all the "virtual" FEs. Use loopback to turn on codec
and DSP (thru BEs)
Would this make sense, or I need more coffee :)
RSS Feed