[#4230] AD73322 module is not properly installed

Document created by Aaronwu Employee on Aug 29, 2013
Version 1Show Document
  • View in full screen mode

[#4230] AD73322 module is not properly installed

Submitted By: Vivi Li

Open Date

2008-07-10 02:16:44     Close Date

2008-07-18 08:09:48

Priority:

Medium     Assignee:

Cliff Cai

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

08r1.5-13

App binary format:

N/A     

Summary: AD73322 module is not properly installed

Details:

 

AD73322 module is not properly installed, so it will fail during uninstallation.

This happens both on trunk and 08r1 branch.

 

--

root:/> modprobe snd-ad73322

root:/> lsmod

Module                  Size  Used by

snd_ad73322            16968  0

snd_pcm                49604  1 snd_ad73322

snd_timer              13828  1 snd_pcm

snd_page_alloc          4232  1 snd_pcm

snd                    31764  3 snd_ad73322,snd_pcm,snd_timer

soundcore               3940  1 snd

root:/> modprobe -r snd-ad73322

bfin-gpio: GPIO 12 wasn't requested!

Hardware Trace:

   0 Target : <0x0000471c> { _dump_stack + 0x0 }

     Source : <0x0000616c> { _gpio_free + 0xd8 }

   1 Target : <0x0000616c> { _gpio_free + 0xd8 }

     Source : <0x0000d686> { _printk + 0x16 }

   2 Target : <0x0000d682> { _printk + 0x12 }

     Source : <0x0000d538> { _vprintk + 0x1b8 }

   3 Target : <0x0000d52c> { _vprintk + 0x1ac }

     Source : <0x0000d51e> { _vprintk + 0x19e }

   4 Target : <0x0000d51a> { _vprintk + 0x19a }

     Source : <0x0000d37a> { _wake_up_klogd + 0x36 }

   5 Target : <0x0000d376> { _wake_up_klogd + 0x32 }

     Source : <0x0000969c> { ___wake_up + 0x2c }

   6 Target : <0x00009696> { ___wake_up + 0x26 }

     Source : <0x00009688> { ___wake_up + 0x18 }

   7 Target : <0x00009684> { ___wake_up + 0x14 }

     Source : <0x0000966e> { ___wake_up_common + 0x52 }

   8 Target : <0x00009660> { ___wake_up_common + 0x44 }

     Source : <0x00009656> { ___wake_up_common + 0x3a }

   9 Target : <0x00009650> { ___wake_up_common + 0x34 }

     Source : <0x0001d3d0> { _autoremove_wake_function + 0x2c }

  10 Target : <0x0001d3b6> { _autoremove_wake_function + 0x12 }

     Source : <0x0000a630> { _try_to_wake_up + 0x3c }

  11 Target : <0x0000a628> { _try_to_wake_up + 0x34 }

     Source : <0x0000a61a> { _try_to_wake_up + 0x26 }

  12 Target : <0x0000a614> { _try_to_wake_up + 0x20 }

     Source : <0x0000a63e> { _try_to_wake_up + 0x4a }

  13 Target : <0x0000a63a> { _try_to_wake_up + 0x46 }

     Source : <0x0000a6c0> { _try_to_wake_up + 0xcc }

  14 Target : <0x0000a6be> { _try_to_wake_up + 0xca }

     Source : <0x0000a6ac> { _try_to_wake_up + 0xb8 }

  15 Target : <0x0000a68e> { _try_to_wake_up + 0x9a }

     Source : <0x000098d2> { ___activate_task + 0x2e }

Stack from 0026bd88:

        0096201e 00006170 00000000 00000000 00226c64 0000000c 0000000c 0096051a

        009339b8 00000000 00148868 00017b9c 0022be08 0022bee0 00000000 0026be30

        000911c6 0022be08 00963ed0 0022be08 0022bee0 002b52e0 037f020c 000905fa

        00091674 0022be08 00964228 0026be30 00090aa4 00090aae 00090abc 0022be08

        0022be70 033afa00 033afa08 0008f072 0008f078 0022be00 0022be00 033afa00

        001488d0 00000000 002ffd54 00092bc6 0022be00 00964228 00092f0c 0022be00

 

Call Trace:

[<0007bdd2>] _kref_put+0x4a/0xa0

[<0007bdd2>] _kref_put+0x4a/0xa0

[<00092f18>] _platform_device_unregister+0xc/0x18

[<000145dc>] _run_timer_softirq+0x14/0x16c

[<00962e42>] _cleanup_module+0x1e/0x3c [snd_ad73322]

[<00962e42>] _cleanup_module+0x1e/0x3c [snd_ad73322]

[<000f4e94>] _mutex_lock_interruptible+0xc/0x40

[<0002685e>] _sys_delete_module+0x17a/0x1e8

[<000266e4>] _sys_delete_module+0x0/0x1e8

[<0000fffe>] _do_exit+0x5f6/0x760

[<00008000>] _l1sram_alloc_max+0x1c/0x80

[<00002000>] _get_sclk+0x0/0x58

 

root:/>

--

 

Follow-ups

 

--- Cliff Cai                                                2008-07-10 06:09:18

The remove routine will be called twice for each card.

but the two cards share one RESET pin,so it can't be released twice.

 

--- Vivi Li                                                  2008-07-18 08:09:48

OK now. Close it. Thanks!

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes