29 Oct, 2011

3 commits

  • Currently McSPI driver doesnt follow correct failure fallback steps
    attempting to correct the same.

    Also:
    - label names changed to give meaningful names.
    - Setting the driver data to NULL in remove

    Signed-off-by: Hebbar, Gururaja
    Signed-off-by: Shubhrajyoti D
    Signed-off-by: Grant Likely

    Shubhrajyoti D
     
  • omap mcspi probe() doesnt call pm_runtime disable functions
    in case of failure. remove() doesnt call pm_runtime disable. This could
    lead to warnings as below on subsequent insmod.

    ~# insmod spi-omap2-mcspi.ko
    [ 255.383671] omap2_mcspi omap2_mcspi.1: Unbalanced pm_runtime_enable!
    ...

    This patch adds the pm_runtime disable() at appropriate stages.

    Signed-off-by: Hebbar, Gururaja
    Signed-off-by: Shubhrajyoti D
    Signed-off-by: Grant Likely

    Shubhrajyoti D
     
  • Currently all the spi controllers share the work queue.
    This patch allocates a work queue per controller.

    Signed-off-by: Steve Wilkins
    Signed-off-by: Shubhrajyoti D
    Signed-off-by: Grant Likely

    Shubhrajyoti D
     

24 Oct, 2011

1 commit

  • Currently there is a request_mem_region(r->start, ..
    followed by r->start += pdata->regs_offset;

    And then in remove

    r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
    release_mem_region(r->start, resource_size(r));

    Here the offset addition is not taken care. Fix the code for the
    same.

    Signed-off-by: Shubhrajyoti D
    Signed-off-by: Grant Likely

    Shubhrajyoti D
     

11 Jun, 2011

1 commit


06 Jun, 2011

1 commit

  • Sort the SPI makefile and enforce the naming convention spi_*.c for
    spi drivers.

    This change also rolls the contents of atmel_spi.h into the .c file
    since there is only one user of that particular include file.

    v2: - Use 'spi-' prefix instead of 'spi_' to match what seems to be
    be the predominant pattern for subsystem prefixes.
    - Clean up filenames in Kconfig and header comment blocks

    Signed-off-by: Grant Likely
    Acked-by: Wolfram Sang
    Acked-by: Linus Walleij

    Grant Likely