[alsa-devel] [PATCH 1/2] OMAP4: PMIC: Rename twl6030_codec as twl6040_codec

Felipe Balbi me at felipebalbi.com
Sat Mar 13 12:17:36 CET 2010


Hi,

On Fri, 12 Mar 2010 19:52:15 -0600, "Olaya, Margarita" <magi.olaya at ti.com>
wrote:

please add a description here. Why do you need to rename it ?

> Signed-off-by: Margarita Olaya Cabrera <magi.olaya at ti.com>

[snip]

> @@ -708,7 +708,7 @@ add_children(struct twl4030_platform_data *pdata,
> unsigned long features)
>  	/* Phoenix*/
>  	if (twl_has_codec() && pdata->codec && twl_class_is_6030()) {
>  		sub_chip_id = twl_map[TWL_MODULE_AUDIO_VOICE].sid;
> -		child = add_child(sub_chip_id, "twl6030_codec",
> +		child = add_child(sub_chip_id, "twl6040_codec",

you rename the platform_device but no the platform_driver ??
how do you expect the driver to probe() ??

-- 
balbi


More information about the Alsa-devel mailing list