16 Mar
2010
16 Mar
'10
6:35 p.m.
On Saturday, March 13, 2010 5:18 AM Felipe Balbi wrote:
Hi,
On Fri, 12 Mar 2010 19:52:15 -0600, "Olaya, Margarita" magi.olaya@ti.com 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 magi.olaya@ti.com
[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.