01 Sep, 2013

1 commit


29 Aug, 2013

1 commit


30 Jul, 2013

1 commit

  • Commit 048177ce3b3962852fd34a7e04938959271c7e70 (spi: spi-davinci:
    convert to DMA engine API) introduced a regression: dma_map_single()
    is called with direction DMA_FROM_DEVICE for rx and for tx.

    Signed-off-by: Christian Eggers
    Acked-by: Matt Porter
    Signed-off-by: Mark Brown
    Cc: stable@vger.kernel.org # v3.7.x+

    Christian Eggers
     

26 Jun, 2013

1 commit


30 May, 2013

1 commit


23 May, 2013

1 commit

  • Use the wrapper functions for getting and setting the driver data using
    platform_device instead of using dev_{get,set}_drvdata() with &pdev->dev,
    so we can directly pass a struct platform_device.

    Signed-off-by: Jingoo Han
    Signed-off-by: Mark Brown

    Jingoo Han
     

13 May, 2013

1 commit


18 Apr, 2013

1 commit


07 Apr, 2013

1 commit

  • Fix below module build error:

    CC [M] drivers/spi/spi-davinci.o
    drivers/spi/spi-davinci.c:774:1: error: '__mod_of_device_table' aliased
    to undefined symbol 'davini_spi_of_match'
    drivers/spi/spi-davinci.c:774:1: error: '__mod_of_device_table' aliased
    to undefined symbol 'davini_spi_of_match'
    make[2]: *** [drivers/spi/spi-davinci.o] Error 1
    make[1]: *** [drivers/spi] Error 2
    make[1]: *** Waiting for unfinished jobs....
    make: *** [drivers] Error 2

    Signed-off-by: Manjunathappa, Prakash
    Acked-by: Sekhar Nori
    Signed-off-by: Grant Likely

    Manjunathappa, Prakash
     

06 Feb, 2013

1 commit

  • With RT pre-empt patch applied to Linux kernel, the irq handler will be
    force converted to an irq thread. spi driver can get back to back messages
    from the slave device. In such cases, IRQ thread doesn't get a chance to
    run to read the slave data. Hence the irq handler must be run in hard irq
    context to read/write data from slave device. Otherwise, the kernel goes
    into a deadlock. This patch fixes this issue when PREEMPT_RT_FULL is
    enabled in the kernel. A dummy thread function is provided to satisfy the
    request_threaded_irq() API. Passing a NULL for function also causes the
    irq handler to be executed in the thread context.

    Signed-off-by: Murali Karicheri
    Signed-off-by: Grant Likely

    Murali Karicheri
     

05 Feb, 2013

1 commit


08 Dec, 2012

1 commit

  • CONFIG_HOTPLUG is going away as an option. As result the __dev*
    markings will be going away.

    Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst,
    and __devexit.

    Bill Pemberton has done most of the legwork on this series. I've used
    his script to purge the attributes from the drivers/gpio tree.

    Reported-by: Bill Pemberton
    Signed-off-by: Grant Likely

    Grant Likely
     

10 Oct, 2012

1 commit

  • Pull slave-dmaengine updates from Vinod Koul:
    "This time we have Andy updates on dw_dmac which is attempting to make
    this IP block available as PCI and platform device though not fully
    complete this time.

    We also have TI EDMA moving the dma driver to use dmaengine APIs, also
    have a new driver for mmp-tdma, along with bunch of small updates.

    Now for your excitement the merge is little unusual here, while
    merging the auto merge on linux-next picks wrong choice for pl330
    (drivers/dma/pl330.c) and this causes build failure. The correct
    resolution is in linux-next. (DMA: PL330: Fix build error) I didn't
    back merge your tree this time as you are better than me so no point
    in doing that for me :)"

    Fixed the pl330 conflict as in linux-next, along with trivial header
    file conflicts due to changed includes.

    * 'next' of git://git.infradead.org/users/vkoul/slave-dma: (29 commits)
    dma: tegra: fix interrupt name issue with apb dma.
    dw_dmac: fix a regression in dwc_prep_dma_memcpy
    dw_dmac: introduce software emulation of LLP transfers
    dw_dmac: autoconfigure data_width or get it via platform data
    dw_dmac: autoconfigure block_size or use platform data
    dw_dmac: get number of channels from hardware if possible
    dw_dmac: fill optional encoded parameters in register structure
    dw_dmac: mark dwc_dump_chan_regs as inline
    DMA: PL330: return ENOMEM instead of 0 from pl330_alloc_chan_resources
    DMA: PL330: Remove redundant runtime_suspend/resume functions
    DMA: PL330: Remove controller clock enable/disable
    dmaengine: use kmem_cache_zalloc instead of kmem_cache_alloc/memset
    DMA: PL330: Set the capability of pdm0 and pdm1 as DMA_PRIVATE
    ARM: EXYNOS: Set the capability of pdm0 and pdm1 as DMA_PRIVATE
    dma: tegra: use list_move_tail instead of list_del/list_add_tail
    mxs/dma: Enlarge the CCW descriptor area to 4 pages
    dw_dmac: utilize slave_id to pass request line
    dmaengine: mmp_tdma: add dt support
    dmaengine: mmp-pdma support
    spi: davici - make davinci select edma
    ...

    Linus Torvalds
     

14 Sep, 2012

1 commit

  • Platform data for device drivers should be defined in
    include/linux/platform_data/*.h, not in the architecture
    and platform specific directories.

    This moves such data out of the davinci include directories

    Signed-off-by: Arnd Bergmann
    Acked-by: Mark Brown
    Acked-by: Greg Kroah-Hartman
    Acked-by: Nicolas Pitre
    Acked-by: Mauro Carvalho Chehab
    Acked-by: Felipe Balbi
    Cc: Sekhar Nori
    Cc: Kevin Hilman
    Cc: "Ben Dooks"
    Cc: "Wolfram Sang"
    Cc: Dmitry Torokhov
    Cc: Chris Ball
    Cc: David Woodhouse
    Cc: Grant Likely
    Cc: Alan Stern
    Cc: Liam Girdwood
    Cc: davinci-linux-open-source@linux.davincidsp.com

    Arnd Bergmann
     

01 Sep, 2012

1 commit


31 Mar, 2012

1 commit


25 Oct, 2011

1 commit

  • For simple modules that contain a single platform_driver without any
    additional setup code then ends up being a block of duplicated
    boilerplate. This patch adds a new macro, module_platform_driver(),
    which replaces the module_init()/module_exit() registrations with
    template functions.

    Signed-off-by: Grant Likely
    Acked-by: Greg Kroah-Hartman
    Reviewed-by: Magnus Damm
    Reviewed-by: Mark Brown
    Reviewed-by: Stephen Boyd

    Grant Likely
     

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