Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b0e00d9 authored by Thierry Reding's avatar Thierry Reding Committed by Vinod Koul
Browse files

dmaengine: tegra: Remove some whitespace funkiness



There are some places where whitespace is used in very funky ways. Fix
the most serious ones to make the code easier on the eye.

Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Acked-by: default avatarJon Hunter <jonathanh@nvidia.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 1a695a90
Loading
Loading
Loading
Loading
+5 −7
Original line number Original line Diff line number Diff line
@@ -905,7 +905,6 @@ static int get_transfer_param(struct tegra_dma_channel *tdc,
	unsigned long *apb_seq,	unsigned long *csr, unsigned int *burst_size,
	unsigned long *apb_seq,	unsigned long *csr, unsigned int *burst_size,
	enum dma_slave_buswidth *slave_bw)
	enum dma_slave_buswidth *slave_bw)
{
{

	switch (direction) {
	switch (direction) {
	case DMA_MEM_TO_DEV:
	case DMA_MEM_TO_DEV:
		*apb_addr = tdc->dma_sconfig.dst_addr;
		*apb_addr = tdc->dma_sconfig.dst_addr;
@@ -1204,7 +1203,6 @@ static void tegra_dma_free_chan_resources(struct dma_chan *dc)
{
{
	struct tegra_dma_channel *tdc = to_tegra_dma_chan(dc);
	struct tegra_dma_channel *tdc = to_tegra_dma_chan(dc);
	struct tegra_dma *tdma = tdc->tdma;
	struct tegra_dma *tdma = tdc->tdma;

	struct tegra_dma_desc *dma_desc;
	struct tegra_dma_desc *dma_desc;
	struct tegra_dma_sg_req *sg_req;
	struct tegra_dma_sg_req *sg_req;
	struct list_head dma_desc_list;
	struct list_head dma_desc_list;