On Saturday, March 13, 2010 5:18 AM  Felipe Balbi wrote: 

> Hi,
> 
> On Fri, 12 Mar 2010 19:52:15 -0600, "Olaya, Margarita"
> <[email protected]> wrote:
> 
> please add a description here. Why do you need to rename it ?

Ok, I'll add a description. We were using twl6030 for Phoenix
Audio and Phoenix Power chips but Phoenix Audio is actually twl6040.

> 
>> Signed-off-by: Margarita Olaya Cabrera <[email protected]>
> 
> [snip]
> 
>>      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() ??

Platform_driver register is called in twl6040.c file, I haven't found an issue
at probe.

Reply via email to