[PATCH 3/4] ARM: OMAP3: Switch to use the unified audio driver (omap-twl4030) for selected boards

Peter Ujfalusi peter.ujfalusi at ti.com
Wed Aug 8 08:29:41 EDT 2012


Hi Igor,

On 08/08/2012 03:24 PM, Igor Grinberg wrote:
>> diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c
>> index 97d7190..b73fa5c 100644
>> --- a/arch/arm/mach-omap2/board-cm-t35.c
>> +++ b/arch/arm/mach-omap2/board-cm-t35.c
>> @@ -731,6 +731,7 @@ static void __init cm_t3x_common_init(void)
>>  	cm_t35_init_ethernet();
>>  	cm_t35_init_led();
>>  	cm_t35_init_display();
>> +	omap_twl4030_audio_init("overo", 26000000);
> 
> Can the card_name here be "cm-t3x" ?

I have used the "overo" as card name here since what I gathered is that cm-t35
used the sound/soc/omap/overo.c machine driver for audio support.
If the card name is changing your existing user space might get confused by
the card name change.
But sure, I can change the card name to "cm-t3x" if it is better for you.

-- 
Péter



More information about the linux-arm-kernel mailing list