diff options
author | Lubomir Rintel <[email protected]> | 2020-05-11 23:01:27 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-05-12 17:14:38 +0100 |
commit | c9aeda1c94973f835b3d1b6c785a414caaf935c3 (patch) | |
tree | 54c2eedfeadf6b0a4a871f56db4f348fdf5e0407 /drivers/usb/cdns3/cdns3-debug.h | |
parent | e0b9024d2c8851b18b953823204278602bf73086 (diff) |
ASoC: mmp-sspa: Get rid of dma_params and phys_base
This makes things simpler. There's no reason not to just embed the struct
snd_dmaengine_dai_dma_data in struct sspa_priv and do away with an
unnecessary kmalloc(). While at that, we can initialize the
snd_dmaengine_dai_dma_data structures earlier.
Let's also stop offsetting the source/destination of the DMA transfer by
phys_base. Firstly, it's never set and is always zero. Secondly, the
hardware actually ignores it, at least on a MMP2 and MMP3.
Signed-off-by: Lubomir Rintel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions