Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kernel Warning on spidev #234

Open
ski7777 opened this issue Jan 7, 2023 · 0 comments
Open

Kernel Warning on spidev #234

ski7777 opened this issue Jan 7, 2023 · 0 comments
Assignees
Labels
Milestone

Comments

@ski7777
Copy link
Member

ski7777 commented Jan 7, 2023

[    2.237102] ------------[ cut here ]------------
[    2.237152] WARNING: CPU: 0 PID: 1 at drivers/spi/spidev.c:729 spidev_probe+0x190/0x1f0
[    2.237170] Modules linked in:
[    2.237210] CPU: 0 PID: 1 Comm: swapper Not tainted 4.14.97 #5
[    2.237226] Hardware name: Generic AM33XX (Flattened Device Tree)
[    2.237269] [<c010e4ec>] (unwind_backtrace) from [<c010be2c>] (show_stack+0x10/0x14)
[    2.237300] [<c010be2c>] (show_stack) from [<c013287c>] (__warn+0xc8/0x100)
[    2.237325] [<c013287c>] (__warn) from [<c0132964>] (warn_slowpath_null+0x20/0x28)
[    2.237349] [<c0132964>] (warn_slowpath_null) from [<c06138d0>] (spidev_probe+0x190/0x1f0)
[    2.237374] [<c06138d0>] (spidev_probe) from [<c060f00c>] (spi_drv_probe+0x78/0xa8)
[    2.237400] [<c060f00c>] (spi_drv_probe) from [<c0584a14>] (driver_probe_device+0x274/0x390)
[    2.237437] [<c0584a14>] (driver_probe_device) from [<c0582aa8>] (bus_for_each_drv+0x74/0x98)
[    2.237462] [<c0582aa8>] (bus_for_each_drv) from [<c0584448>] (__device_attach+0xd4/0x14c)
[    2.237484] [<c0584448>] (__device_attach) from [<c0583ae0>] (bus_probe_device+0x88/0x90)
[    2.237508] [<c0583ae0>] (bus_probe_device) from [<c058120c>] (device_add+0x3e4/0x604)
[    2.237533] [<c058120c>] (device_add) from [<c060fc5c>] (spi_add_device+0x94/0x134)
[    2.237557] [<c060fc5c>] (spi_add_device) from [<c0610360>] (spi_register_controller+0x4f0/0xac4)
[    2.237581] [<c0610360>] (spi_register_controller) from [<c0610964>] (devm_spi_register_controller+0x30/0x70)
[    2.237606] [<c0610964>] (devm_spi_register_controller) from [<c0615010>] (omap2_mcspi_probe+0x268/0x32c)
[    2.237634] [<c0615010>] (omap2_mcspi_probe) from [<c05867e0>] (platform_drv_probe+0x50/0xac)
[    2.237657] [<c05867e0>] (platform_drv_probe) from [<c0584a14>] (driver_probe_device+0x274/0x390)
[    2.237680] [<c0584a14>] (driver_probe_device) from [<c0584c0c>] (__driver_attach+0xdc/0x100)
[    2.237704] [<c0584c0c>] (__driver_attach) from [<c0582a10>] (bus_for_each_dev+0x7c/0xa0)
[    2.237728] [<c0582a10>] (bus_for_each_dev) from [<c0583d50>] (bus_add_driver+0x16c/0x200)
[    2.237750] [<c0583d50>] (bus_add_driver) from [<c05859f4>] (driver_register+0x8c/0x10c)
[    2.237775] [<c05859f4>] (driver_register) from [<c0101d10>] (do_one_initcall+0x3c/0x178)
[    2.237811] [<c0101d10>] (do_one_initcall) from [<c0d00d54>] (kernel_init_freeable+0x100/0x1b4)
[    2.237842] [<c0d00d54>] (kernel_init_freeable) from [<c09151d8>] (kernel_init+0x8/0x10c)
[    2.237873] [<c09151d8>] (kernel_init) from [<c0107bd4>] (ret_from_fork+0x14/0x20)
[    2.237962] ---[ end trace 19676f3620d5f7dc ]---

This might be the fix: https://github.com/fischertechnik/FT-TXT/blob/master/board/FT/TXT/DTS_4.1/am335x-kno_txt.dts#L131

@ski7777 ski7777 added the bug label Jan 7, 2023
@ski7777 ski7777 added this to the v1.1 milestone Jan 7, 2023
@ski7777 ski7777 self-assigned this Jan 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant