08 Aug, 2017

1 commit

  • platform_get_irq() returns an error code, but the spi-xlp driver ignores
    it and always returns -EINVAL. This is not correct and, prevents
    -EPROBE_DEFER from being propagated properly.

    Notice that platform_get_irq() no longer returns 0 on error:
    https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e330b9a6bb35dc7097a4f02cb1ae7b6f96df92af

    Print and propagate the return value of platform_get_irq on failure.

    This issue was detected with the help of Coccinelle.

    Signed-off-by: Gustavo A. R. Silva
    Signed-off-by: Mark Brown

    Gustavo A. R. Silva
     

14 Mar, 2017

1 commit

  • ARCH_VULCAN arm64 platform (for Broadcom Vulcan ARM64 processors) has
    been discontinued. Cavium's ThunderX2 CN99XX (ARCH_THUNDER2) will be
    the next revision of the platform.

    Update compile dependencies and ACPI ID to reflect this change. There
    is not need to retain ARCH_VULCAN since the Vulcan processor was never
    in production and ARCH_VULCAN will be deleted soon.

    Signed-off-by: Jayachandran C
    Signed-off-by: Mark Brown

    Jayachandran C
     

24 Nov, 2016

1 commit

  • If the driver is built as a module, autoload won't work because the module
    alias information is not filled. So user-space can't match the registered
    device with the corresponding module.

    Export the module alias information using the MODULE_DEVICE_TABLE() macro.

    Before this patch:

    $ modinfo drivers/spi/spi-xlp.ko | grep alias
    alias: acpi*:BRCM900D:*

    After this patch:

    $ modinfo drivers/spi/spi-xlp.ko | grep alias
    alias: acpi*:BRCM900D:*
    alias: of:N*T*Cnetlogic,xlp832-spiC*
    alias: of:N*T*Cnetlogic,xlp832-spi

    Signed-off-by: Javier Martinez Canillas
    Signed-off-by: Mark Brown

    Javier Martinez Canillas
     

09 Aug, 2016

1 commit


29 Aug, 2015

1 commit