From mboxrd@z Thu Jan 1 00:00:00 1970 From: marex@denx.de (Marek Vasut) Date: Wed, 4 Jul 2012 06:36:02 +0200 Subject: mx28evk: kernel dump on sgtl5000 probe In-Reply-To: References: Message-ID: <201207040636.02772.marex@denx.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Dear Fabio Estevam, > Hi, > > Running linux-next on a mx28evk I get the following: > > [ 0.930000] ------------[ cut here ]------------ > [ 0.940000] WARNING: at fs/sysfs/dir.c:526 sysfs_add_one+0x90/0xc0() > [ 0.940000] sysfs: cannot create duplicate filename > '/devices/platform/reg-fixed-voltage/regulator/regulator.1/0-000a-VDDA' > [ 0.950000] Modules linked in: > [ 0.960000] [] (unwind_backtrace+0x0/0xf4) from > [] (warn_slowpath_common+0x4c/0x64) > [ 0.970000] [] (warn_slowpath_common+0x4c/0x64) from > [] (warn_slowpath_fmt+0x30/0x40) > [ 0.980000] [] (warn_slowpath_fmt+0x30/0x40) from > [] (sysfs_add_one+0x90/0xc0) > [ 0.990000] [] (sysfs_add_one+0x90/0xc0) from > [] (sysfs_do_create_link+0x128/0x224) > [ 1.000000] [] (sysfs_do_create_link+0x128/0x224) from > [] (create_regulator+0xbc/0x254) > [ 1.010000] [] (create_regulator+0xbc/0x254) from > [] (_regulator_get+0x9c/0x138) > [ 1.020000] [] (_regulator_get+0x9c/0x138) from > [] (regulator_bulk_get+0x48/0xc0) > [ 1.020000] [] (regulator_bulk_get+0x48/0xc0) from > [] (sgtl5000_replace_vddd_with_ldo+0xf8/0x1cc) > [ 1.040000] [] > (sgtl5000_replace_vddd_with_ldo+0xf8/0x1cc) from [] > (sgtl5000_probe+0x7c/0x4dc) > [ 1.050000] [] (sgtl5000_probe+0x7c/0x4dc) from > [] (soc_probe_codec+0x180/0x290) > [ 1.060000] [] (soc_probe_codec+0x180/0x290) from > [] (snd_soc_register_card+0x7d8/0x1348) > [ 1.070000] [] (snd_soc_register_card+0x7d8/0x1348) from > [] (mxs_sgtl5000_probe+0xf8/0x138) > [ 1.080000] [] (mxs_sgtl5000_probe+0xf8/0x138) from > [] (platform_drv_probe+0x14/0x18) > [ 1.090000] [] (platform_drv_probe+0x14/0x18) from > [] (driver_probe_device+0x80/0x214) > [ 1.100000] [] (driver_probe_device+0x80/0x214) from > [] (__driver_attach+0x94/0x98) > [ 1.110000] [] (__driver_attach+0x94/0x98) from > [] (bus_for_each_dev+0x64/0x8c) > [ 1.110000] [] (bus_for_each_dev+0x64/0x8c) from > [] (bus_add_driver+0x194/0x270) > [ 1.120000] [] (bus_add_driver+0x194/0x270) from > [] (driver_register+0x78/0x12c) > [ 1.130000] [] (driver_register+0x78/0x12c) from > [] (do_one_initcall+0x30/0x17c) > [ 1.140000] [] (do_one_initcall+0x30/0x17c) from > [] (kernel_init+0xe8/0x1b4) > [ 1.150000] [] (kernel_init+0xe8/0x1b4) from [] > (kernel_thread_exit+0x0/0x8) > [ 1.160000] ---[ end trace 71dcd8a3218c5e53 ]--- > [ 1.170000] 3V3: could not add device link 0-000a err -17 > [ 1.180000] ------------[ cut here ]------------ > [ 1.180000] WARNING: at fs/sysfs/dir.c:526 sysfs_add_one+0x90/0xc0() > [ 1.190000] sysfs: cannot create duplicate filename > '/devices/platform/reg-fixed-voltage/regulator/regulator.1/0-000a-VDDIO' > [ 1.200000] Modules linked in: > [ 1.210000] [] (unwind_backtrace+0x0/0xf4) from > [] (warn_slowpath_common+0x4c/0x64) > [ 1.210000] [] (warn_slowpath_common+0x4c/0x64) from > [] (warn_slowpath_fmt+0x30/0x40) > [ 1.220000] [] (warn_slowpath_fmt+0x30/0x40) from > [] (sysfs_add_one+0x90/0xc0) > [ 1.230000] [] (sysfs_add_one+0x90/0xc0) from > [] (sysfs_do_create_link+0x128/0x224) > [ 1.240000] [] (sysfs_do_create_link+0x128/0x224) from > [] (create_regulator+0xbc/0x254) > [ 1.250000] [] (create_regulator+0xbc/0x254) from > [] (_regulator_get+0x9c/0x138) > [ 1.260000] [] (_regulator_get+0x9c/0x138) from > [] (regulator_bulk_get+0x48/0xc0) > [ 1.270000] [] (regulator_bulk_get+0x48/0xc0) from > [] (sgtl5000_replace_vddd_with_ldo+0xf8/0x1cc) > [ 1.280000] [] > (sgtl5000_replace_vddd_with_ldo+0xf8/0x1cc) from [] > (sgtl5000_probe+0x7c/0x4dc) > [ 1.290000] [] (sgtl5000_probe+0x7c/0x4dc) from > [] (soc_probe_codec+0x180/0x290) > [ 1.300000] [] (soc_probe_codec+0x180/0x290) from > [] (snd_soc_register_card+0x7d8/0x1348) > [ 1.310000] [] (snd_soc_register_card+0x7d8/0x1348) from > [] (mxs_sgtl5000_probe+0xf8/0x138) > [ 1.320000] [] (mxs_sgtl5000_probe+0xf8/0x138) from > [] (platform_drv_probe+0x14/0x18) > [ 1.330000] [] (platform_drv_probe+0x14/0x18) from > [] (driver_probe_device+0x80/0x214) > [ 1.340000] [] (driver_probe_device+0x80/0x214) from > [] (__driver_attach+0x94/0x98) > [ 1.350000] [] (__driver_attach+0x94/0x98) from > [] (bus_for_each_dev+0x64/0x8c) > [ 1.360000] [] (bus_for_each_dev+0x64/0x8c) from > [] (bus_add_driver+0x194/0x270) > [ 1.370000] [] (bus_add_driver+0x194/0x270) from > [] (driver_register+0x78/0x12c) > [ 1.380000] [] (driver_register+0x78/0x12c) from > [] (do_one_initcall+0x30/0x17c) > [ 1.390000] [] (do_one_initcall+0x30/0x17c) from > [] (kernel_init+0xe8/0x1b4) > [ 1.400000] [] (kernel_init+0xe8/0x1b4) from [] > (kernel_thread_exit+0x0/0x8) > [ 1.410000] ---[ end trace 71dcd8a3218c5e54 ]--- > [ 1.410000] 3V3: could not add device link 0-000a err -17 > > I haven't started debugging this yet, but just would like to check if > it is a known issue. Confirmed on m28evk > > Regards, > > Fabio Estevam Best regards, Marek Vasut