[PATCH 0/7 v3] K3DMA fixes for HiKey HDMI audio
From: John Stultz
Date: Wed Jul 20 2016 - 23:53:48 EST
Per Mark's suggestion, I've split out the k3dma changes
on their own as they are mostly fixes and the addition
of cyclic mode.
New in v3:
* With inspiration from YongQin Liu, I figured out the reason we
were seeing occasional DMA ERR issues: The desc structures were
being allocated with kzalloc and so changes weren't necessarily
being flushed to memory before the transfers started. I fixed
this, but also uncoverd a memory leak that was happening in
cyclic mode, so I fixed that as well.
Thoughts and comments would be appreciated!
thanks
-john
Cc: Zhangfei Gao <zhangfei.gao@xxxxxxxxxx>
Cc: Jingoo Han <jg1.han@xxxxxxxxxxx>
Cc: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>
Cc: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx>
Cc: Vinod Koul <vinod.koul@xxxxxxxxx>
Cc: Dan Williams <dan.j.williams@xxxxxxxxx>
Cc: Mark Brown <broonie@xxxxxxxxxx>
Cc: Andy Green <andy@xxxxxxxxxxx>
Andy Green (4):
k3dma: Fix hisi burst clipping
k3dma: Fix dma err offsets
k3dma: Fix "nobody cared" message seen on any error
k3dma: Add cyclic mode for audio
John Stultz (3):
k3dma: Fix memory handling with cyclic mode
k3dma: Fix occasional DMA ERR issue by using proper dma api
Kconfig: Allow k3dma driver to be selected for more then HISI3xx
platforms
drivers/dma/Kconfig | 2 +-
drivers/dma/k3dma.c | 219 ++++++++++++++++++++++++++++++++++++++++++----------
2 files changed, 181 insertions(+), 40 deletions(-)
--
1.9.1