Probably due to:

commit c5d736105ab2d84096e35ecc71a265345d66a25c
Author: Trent Piepho <[email protected]>
Date:   Thu Sep 20 19:18:34 2018 +0000

    spi: spidev: Fix OF tree warning logic
    
    BugLink: https://bugs.launchpad.net/bugs/1854216
    
    [ Upstream commit 605b3bec73cbd74b4ac937b580cd0b47d1300484 ]
    
    spidev will make a big fuss if a device tree node binds a device by
    using "spidev" as the node's compatible property.
    
    However, the logic for this isn't looking for "spidev" in the
    compatible, but rather checking that the device is NOT compatible with
    spidev's list of devices.
    
    This causes a false positive if a device not named "rohm,dh2228fv", etc.
    binds to spidev, even if a means other than putting "spidev" in the
    device tree was used.  E.g., the sysfs driver_override attribute.
    
    Signed-off-by: Trent Piepho <[email protected]>
    Reviewed-by: Jan Kundrát <[email protected]>
    Tested-by: Jan Kundrát <[email protected]>
    Reviewed-by: Geert Uytterhoeven <[email protected]>
    Signed-off-by: Mark Brown <[email protected]>
    Signed-off-by: Sasha Levin <[email protected]>
    Signed-off-by: Kamal Mostafa <[email protected]>
    Signed-off-by: Khalid Elmously <[email protected]>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1858658

Title:
  WARNING: CPU: 3 PID: 33 at /build/linux-raspi2-LrAkG8/linux-
  raspi2-4.15.0/drivers/spi/spidev.c:730 spidev_probe+0x13c/0x200

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+bug/1858658/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to