This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PSP 3.00.01.06 state when removing twl4030-usb.ko

Other Parts Discussed in Thread: TPS65920, OMAP3530

Hi,

Our OMAP3530+TPS65920 system runs with PSP 3.00.01.06.  When twl4030-usb.ko insmod-ed and rmmod-ed , OS showed the following state. I wonder whether it is OK or not.

First I insmod-ed some modules related to USB gadget. Then our system's current value increased and system can connect with USB host.

    # insmod twl4030-usb.ko

    # insmod musb_hdrc.ko

    # insmod g_file_storage.ko

Then I rmmod-ed those modules. The system showed those messages. After those messages, the system seems to work fine. The current value decreased as like before insmoding those modules. But I'm not sure I can ignore the messages.

   # rmmod g_file_strage.ko

   # rmmod musb_hdrc.ko

   # rmmod twl4030-usb.ko

[  436.194671] ------------[ cut here ]------------
[  436.199371] WARNING: at drivers/regulator/core.c:1282 _regulator_disable+0x38/0x108()
[  436.207336] unbalanced disables for VUSB1V5
[  436.211578] Modules linked in: twl4030_usb(-) tiwlan_drv bmtrace sdio nls_euc_jp nls_cp932 [last unloaded: musb_hdrc]
[  436.222351] Backtrace:
[  436.224884] [<c0029b58>] (dump_backtrace+0x0/0x110) from [<c0029fdc>] (dump_stack+0x18/0x1c)
[  436.233398]  r7:c4f2fdf8 r6:c01468b0 r5:c0265868 r4:00000502
[  436.239135] [<c0029fc4>] (dump_stack+0x0/0x1c) from [<c004b050>] (warn_slowpath_common+0x50/0x68)
[  436.248107] [<c004b000>] (warn_slowpath_common+0x0/0x68) from [<c004b0b4>] (warn_slowpath_fmt+0x30/0x38)
[  436.257690]  r7:c4f2fe4f r6:00000001 r5:fffffffb r4:c549e200
[  436.263427] [<c004b084>] (warn_slowpath_fmt+0x0/0x38) from [<c01468b0>] (_regulator_disable+0x38/0x108)
[  436.272888]  r3:c0256d77 r2:c0265888
[  436.276519] [<c0146878>] (_regulator_disable+0x0/0x108) from [<c0146a50>] (regulator_disable+0x24/0x38)
[  436.286010]  r5:c549e240 r4:c549e200
[  436.289672] [<c0146a2c>] (regulator_disable+0x0/0x38) from [<bf13627c>] (twl4030_phy_power+0xf0/0x10c [twl4030_usb])
[  436.300292]  r5:00000000 r4:c4ef65c0
[  436.303955] [<bf13618c>] (twl4030_phy_power+0x0/0x10c [twl4030_usb]) from [<bf13667c>] (twl4030_usb_remove+0x8c/0xbc [twl4030_usb])
[  436.315856]  r7:00000880 r6:bf136ae8 r5:bf136ae8 r4:c4ef65c0
[  436.321655] [<bf1365f0>] (twl4030_usb_remove+0x0/0xbc [twl4030_usb]) from [<c015d368>] (platform_drv_remove+0x20/0x24)
[  436.332427]  r4:c54cc808
[  436.335052] [<c015d348>] (platform_drv_remove+0x0/0x24) from [<c015c048>] (__device_release_driver+0x8c/0xd8)
[  436.345062] [<c015bfbc>] (__device_release_driver+0x0/0xd8) from [<c015c5b0>] (driver_detach+0x68/0x90)
[  436.354522]  r5:c54cc83c r4:c54cc808
[  436.358184] [<c015c548>] (driver_detach+0x0/0x90) from [<c015b1cc>] (bus_remove_driver+0x98/0xc0)
[  436.367156]  r7:00000880 r6:c02a2ab0 r5:bf136b34 r4:bf136ae8
[  436.372924] [<c015b134>] (bus_remove_driver+0x0/0xc0) from [<c015c6b0>] (driver_unregister+0x68/0x74)
[  436.382232]  r7:00000880 r6:00000000 r5:bf136b34 r4:bf136ae8
[  436.387969] [<c015c648>] (driver_unregister+0x0/0x74) from [<c015d710>] (platform_driver_unregister+0x14/0x18)
[  436.398071]  r7:00000880 r6:c4f2ff3c r5:bf136b34 r4:00000000
[  436.403808] [<c015d6fc>] (platform_driver_unregister+0x0/0x18) from [<bf1365e8>] (twl4030_usb_exit+0x14/0x1c [twl4030_usb])
[  436.415069] [<bf1365d4>] (twl4030_usb_exit+0x0/0x1c [twl4030_usb]) from [<c006e3ec>] (sys_delete_module+0x1d4/0x240)
[  436.425689] [<c006e218>] (sys_delete_module+0x0/0x240) from [<c0025ec0>] (ret_fast_syscall+0x0/0x2c)
[  436.434906]  r7:00000081 r6:bea42440 r5:bea42418 r4:00000000
[  436.440673] ---[ end trace b563f7fe3bf0cd8f ]---
[  436.445343] ------------[ cut here ]------------
[  436.450012] WARNING: at drivers/regulator/core.c:1282 _regulator_disable+0x38/0x108()
[  436.457916] unbalanced disables for VUSB1V8
[  436.462127] Modules linked in: twl4030_usb(-) tiwlan_drv bmtrace sdio nls_euc_jp nls_cp932 [last unloaded: musb_hdrc]
[  436.472900] Backtrace:
[  436.475433] [<c0029b58>] (dump_backtrace+0x0/0x110) from [<c0029fdc>] (dump_stack+0x18/0x1c)
[  436.483947]  r7:c4f2fdf8 r6:c01468b0 r5:c0265868 r4:00000502
[  436.489685] [<c0029fc4>] (dump_stack+0x0/0x1c) from [<c004b050>] (warn_slowpath_common+0x50/0x68)
[  436.498657] [<c004b000>] (warn_slowpath_common+0x0/0x68) from [<c004b0b4>] (warn_slowpath_fmt+0x30/0x38)
[  436.508209]  r7:c4f2fe4f r6:00000001 r5:fffffffb r4:c54cce00
[  436.513977] [<c004b084>] (warn_slowpath_fmt+0x0/0x38) from [<c01468b0>] (_regulator_disable+0x38/0x108)
[  436.523468]  r3:c0256d7f r2:c0265888
[  436.527099] [<c0146878>] (_regulator_disable+0x0/0x108) from [<c0146a50>] (regulator_disable+0x24/0x38)
[  436.536560]  r5:c54cce40 r4:c54cce00
[  436.540222] [<c0146a2c>] (regulator_disable+0x0/0x38) from [<bf136284>] (twl4030_phy_power+0xf8/0x10c [twl4030_usb])
[  436.550842]  r5:00000000 r4:c4ef65c0
[  436.554504] [<bf13618c>] (twl4030_phy_power+0x0/0x10c [twl4030_usb]) from [<bf13667c>] (twl4030_usb_remove+0x8c/0xbc [twl4030_usb])
[  436.566436]  r7:00000880 r6:bf136ae8 r5:bf136ae8 r4:c4ef65c0
[  436.572204] [<bf1365f0>] (twl4030_usb_remove+0x0/0xbc [twl4030_usb]) from [<c015d368>] (platform_drv_remove+0x20/0x24)
[  436.582977]  r4:c54cc808
[  436.585571] [<c015d348>] (platform_drv_remove+0x0/0x24) from [<c015c048>] (__device_release_driver+0x8c/0xd8)
[  436.595611] [<c015bfbc>] (__device_release_driver+0x0/0xd8) from [<c015c5b0>] (driver_detach+0x68/0x90)
[  436.605072]  r5:c54cc83c r4:c54cc808
[  436.608734] [<c015c548>] (driver_detach+0x0/0x90) from [<c015b1cc>] (bus_remove_driver+0x98/0xc0)
[  436.617675]  r7:00000880 r6:c02a2ab0 r5:bf136b34 r4:bf136ae8
[  436.623443] [<c015b134>] (bus_remove_driver+0x0/0xc0) from [<c015c6b0>] (driver_unregister+0x68/0x74)
[  436.632751]  r7:00000880 r6:00000000 r5:bf136b34 r4:bf136ae8
[  436.638519] [<c015c648>] (driver_unregister+0x0/0x74) from [<c015d710>] (platform_driver_unregister+0x14/0x18)
[  436.648620]  r7:00000880 r6:c4f2ff3c r5:bf136b34 r4:00000000
[  436.654388] [<c015d6fc>] (platform_driver_unregister+0x0/0x18) from [<bf1365e8>] (twl4030_usb_exit+0x14/0x1c [twl4030_usb])
[  436.665649] [<bf1365d4>] (twl4030_usb_exit+0x0/0x1c [twl4030_usb]) from [<c006e3ec>] (sys_delete_module+0x1d4/0x240)
[  436.676269] [<c006e218>] (sys_delete_module+0x0/0x240) from [<c0025ec0>] (ret_fast_syscall+0x0/0x2c)
[  436.685485]  r7:00000081 r6:bea42440 r5:bea42418 r4:00000000
[  436.691223] ---[ end trace b563f7fe3bf0cd90 ]---
[  436.695892] ------------[ cut here ]------------
[  436.700531] WARNING: at drivers/regulator/core.c:1282 _regulator_disable+0x38/0x108()
[  436.708435] unbalanced disables for VUSB3V1
[  436.712677] Modules linked in: twl4030_usb(-) tiwlan_drv bmtrace sdio nls_euc_jp nls_cp932 [last unloaded: musb_hdrc]
[  436.723419] Backtrace:
[  436.725952] [<c0029b58>] (dump_backtrace+0x0/0x110) from [<c0029fdc>] (dump_stack+0x18/0x1c)
[  436.734466]  r7:c4f2fdf8 r6:c01468b0 r5:c0265868 r4:00000502
[  436.740234] [<c0029fc4>] (dump_stack+0x0/0x1c) from [<c004b050>] (warn_slowpath_common+0x50/0x68)
[  436.749206] [<c004b000>] (warn_slowpath_common+0x0/0x68) from [<c004b0b4>] (warn_slowpath_fmt+0x30/0x38)
[  436.758758]  r7:c4f2fe4f r6:00000001 r5:fffffffb r4:c54cca00
[  436.764526] [<c004b084>] (warn_slowpath_fmt+0x0/0x38) from [<c01468b0>] (_regulator_disable+0x38/0x108)
[  436.774017]  r3:c0265de8 r2:c0265888
[  436.777648] [<c0146878>] (_regulator_disable+0x0/0x108) from [<c0146a50>] (regulator_disable+0x24/0x38)
[  436.787109]  r5:c54cca40 r4:c54cca00
[  436.790740] [<c0146a2c>] (regulator_disable+0x0/0x38) from [<bf13628c>] (twl4030_phy_power+0x100/0x10c [twl4030_usb])
[  436.801452]  r5:00000000 r4:c4ef65c0
[  436.805114] [<bf13618c>] (twl4030_phy_power+0x0/0x10c [twl4030_usb]) from [<bf13667c>] (twl4030_usb_remove+0x8c/0xbc [twl4030_usb])
[  436.817016]  r7:00000880 r6:bf136ae8 r5:bf136ae8 r4:c4ef65c0
[  436.822814] [<bf1365f0>] (twl4030_usb_remove+0x0/0xbc [twl4030_usb]) from [<c015d368>] (platform_drv_remove+0x20/0x24)
[  436.833587]  r4:c54cc808
[  436.836181] [<c015d348>] (platform_drv_remove+0x0/0x24) from [<c015c048>] (__device_release_driver+0x8c/0xd8)
[  436.846191] [<c015bfbc>] (__device_release_driver+0x0/0xd8) from [<c015c5b0>] (driver_detach+0x68/0x90)
[  436.855682]  r5:c54cc83c r4:c54cc808
[  436.859344] [<c015c548>] (driver_detach+0x0/0x90) from [<c015b1cc>] (bus_remove_driver+0x98/0xc0)
[  436.868286]  r7:00000880 r6:c02a2ab0 r5:bf136b34 r4:bf136ae8
[  436.874053] [<c015b134>] (bus_remove_driver+0x0/0xc0) from [<c015c6b0>] (driver_unregister+0x68/0x74)
[  436.883361]  r7:00000880 r6:00000000 r5:bf136b34 r4:bf136ae8
[  436.889129] [<c015c648>] (driver_unregister+0x0/0x74) from [<c015d710>] (platform_driver_unregister+0x14/0x18)
[  436.899230]  r7:00000880 r6:c4f2ff3c r5:bf136b34 r4:00000000
[  436.904998] [<c015d6fc>] (platform_driver_unregister+0x0/0x18) from [<bf1365e8>] (twl4030_usb_exit+0x14/0x1c [twl4030_usb])
[  436.916259] [<bf1365d4>] (twl4030_usb_exit+0x0/0x1c [twl4030_usb]) from [<c006e3ec>] (sys_delete_module+0x1d4/0x240)
[  436.926879] [<c006e218>] (sys_delete_module+0x0/0x240) from [<c0025ec0>] (ret_fast_syscall+0x0/0x2c)
[  436.936096]  r7:00000081 r6:bea42440 r5:bea42418 r4:00000000
[  436.941802] ---[ end trace b563f7fe3bf0cd91 ]---

Thanks in advance