[alsa-devel] [PATCH 1/2] sound: soc: add alias for tlv320aic3x

Felipe Contreras felipe.contreras at gmail.com
Wed Feb 1 12:57:56 CET 2012


On Wed, Feb 1, 2012 at 3:56 AM, Axel Lin <axel.lin at gmail.com> wrote:
> 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.

Since when? Last time I checked that was not the case. I will try
again with v3.2 final, but I think on some of the rc's the alias
wasn't there.

-- 
Felipe Contreras


More information about the Alsa-devel mailing list