09 Jun, 2017

2 commits


08 Jun, 2017

3 commits


23 Feb, 2017

1 commit


16 Jul, 2016

2 commits

  • drivers should ensure that tasklets are killed, so that they can't be
    executed after driver remove is executed, so ensure they are killed.

    This driver used vchan tasklets, so those need to be killed.

    Signed-off-by: Vinod Koul
    Cc: Jingchang Lu
    Cc: Peter Griffin

    Vinod Koul
     
  • dmaengine device should explicitly call devm_free_irq() when using
    devm_request_irq().

    The irq is still ON when devices remove is executed and irq should be
    quiesced before remove is completed.

    Signed-off-by: Vinod Koul
    Cc: Jingchang Lu
    Cc: Peter Griffin

    Vinod Koul
     

22 Jun, 2016

2 commits


05 Dec, 2015

1 commit

  • This add power management suspend/resume support for the fsl-edma
    driver.

    eDMA acted as a basic function used by others. What it needs to do
    is the two steps below to support power management.

    In fsl_edma_suspend_late:
    Check whether the DMA chan is idle, if it is not idle disable DMA
    request.

    In fsl_edma_resume_early:
    Enable the eDMA and wait for being used.

    Signed-off-by: Yuan Yao
    Signed-off-by: Vinod Koul

    Yuan Yao
     

25 Jun, 2015

1 commit


22 Dec, 2014

3 commits


15 Dec, 2014

1 commit

  • Pull driver core update from Greg KH:
    "Here's the set of driver core patches for 3.19-rc1.

    They are dominated by the removal of the .owner field in platform
    drivers. They touch a lot of files, but they are "simple" changes,
    just removing a line in a structure.

    Other than that, a few minor driver core and debugfs changes. There
    are some ath9k patches coming in through this tree that have been
    acked by the wireless maintainers as they relied on the debugfs
    changes.

    Everything has been in linux-next for a while"

    * tag 'driver-core-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (324 commits)
    Revert "ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries"
    fs: debugfs: add forward declaration for struct device type
    firmware class: Deletion of an unnecessary check before the function call "vunmap"
    firmware loader: fix hung task warning dump
    devcoredump: provide a one-way disable function
    device: Add dev__once variants
    ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries
    ath: use seq_file api for ath9k debugfs files
    debugfs: add helper function to create device related seq_file
    drivers/base: cacheinfo: remove noisy error boot message
    Revert "core: platform: add warning if driver has no owner"
    drivers: base: support cpu cache information interface to userspace via sysfs
    drivers: base: add cpu_device_create to support per-cpu devices
    topology: replace custom attribute macros with standard DEVICE_ATTR*
    cpumask: factor out show_cpumap into separate helper function
    driver core: Fix unbalanced device reference in drivers_probe
    driver core: fix race with userland in device_add()
    sysfs/kernfs: make read requests on pre-alloc files use the buffer.
    sysfs/kernfs: allow attributes to request write buffer be pre-allocated.
    fs: sysfs: return EGBIG on write if offset is larger than file size
    ...

    Linus Torvalds
     

09 Dec, 2014

1 commit

  • The offset of all 8-/16-bit registers in big-endian eDMA model are
    swapped in a 32-bit size opposite those in the little-endian model.

    The hardware Scatter/Gather requires the subsequent TCDs stored in memory
    in little endian independent of the register endian model, the eDMA engine
    will do the swap if need.

    This patch also use regular assignment for tcd variables r/w
    instead of with io function previously that may not always be true.

    Signed-off-by: Jingchang Lu
    Signed-off-by: Vinod Koul

    Jingchang Lu
     

08 Dec, 2014

1 commit


20 Oct, 2014

1 commit


04 Aug, 2014

1 commit


25 Jul, 2014

1 commit


16 Apr, 2014

1 commit


06 Mar, 2014

1 commit

  • The static checker reports following warning:
    drivers/dma/fsl-edma.c:732 fsl_edma_xlate()
    error: we previously assumed 'chan' could be null (see line 737)
    The changes of the loop cursor in the iteration may result in
    NULL dereference when dma_get_slave_channel failed but loop
    will continue. So use list_for_each_entry_safe() instead of
    list_for_each_entry() to against this.

    Reported-by: Dan Carpenter
    Signed-off-by: Jingchang Lu
    Signed-off-by: Vinod Koul

    Jingchang Lu
     

18 Feb, 2014

1 commit