[alsa-devel] [PATCH 1/2] OMAP4: PMIC: Rename twl6030_codec as twl6040_codec
Olaya, Margarita
magi.olaya at ti.com
Tue Mar 16 18:35:40 CET 2010
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 at 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 at 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.
More information about the Alsa-devel
mailing list