04 Sep, 2017

1 commit


08 Aug, 2017

1 commit

  • platform_get_irq() returns an error code, but the spi-bcm63xx-hsspi
    driver ignores it and always returns -ENXIO. 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
     

17 Jul, 2017

1 commit


14 May, 2017

1 commit


13 Mar, 2017

2 commits


26 Aug, 2015

1 commit

  • Add support for dual read/writes on spi-bcm63xx-hsspi. This has been
    tested with a s25fl129p1 dual read capable spi flash, with a nice speed
    improvement:

    serial read:

    root@OpenWrt:/# time dd if=/dev/mtd4 of=/dev/null bs=8192
    2032+0 records in
    2032+0 records out
    real 0m 4.39s
    user 0m 0.00s
    sys 0m 1.55s

    dual read:

    root@OpenWrt:/# time dd if=/dev/mtd4 of=/dev/null bs=8192
    2032+0 records in
    2032+0 records out
    real 0m 3.09s
    user 0m 0.00s
    sys 0m 1.56s

    Signed-off-by: Jonas Gorski
    Signed-off-by: Mark Brown

    Jonas Gorski
     

20 Oct, 2014

1 commit


15 Apr, 2014

1 commit


30 Mar, 2014

1 commit


05 Mar, 2014

1 commit


10 Feb, 2014

1 commit


18 Dec, 2013

4 commits


10 Dec, 2013

1 commit

  • devm_request_and_ioremap() returns NULL on error, it doesn't return an
    ERR_PTR(). This patch fixes it by switching to devm_ioremap_resource()
    which is the prefered function anyway.

    Fixes: 142168eba9dc ('spi: bcm63xx-hsspi: add bcm63xx HSSPI driver')
    Signed-off-by: Dan Carpenter
    Acked-by: Jonas Gorski
    Signed-off-by: Mark Brown

    Dan Carpenter
     

04 Dec, 2013

1 commit