[alsa-devel] [PATCH 1/2] sound: soc: add alias for tlv320aic3x
Axel Lin
axel.lin at gmail.com
Wed Feb 1 02:56:47 CET 2012
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
>
More information about the Alsa-devel
mailing list