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

Commit a6374f53 authored by Sekhar Nori's avatar Sekhar Nori Committed by Kevin Hilman
Browse files

davinci: edma: fix coding style issue related to breaking lines



In the edma driver, most of the long lines in 'if condition' are
broken after the logical operator '&&' except two instances.

This patch fixes that to bring consistency across the file.

Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
parent d78a9494
Loading
Loading
Loading
Loading
+6 −6
Original line number Original line Diff line number Diff line
@@ -351,8 +351,8 @@ static irqreturn_t dma_irq_handler(int irq, void *data)


	dev_dbg(data, "dma_irq_handler\n");
	dev_dbg(data, "dma_irq_handler\n");


	if ((edma_shadow0_read_array(ctlr, SH_IPR, 0) == 0)
	if ((edma_shadow0_read_array(ctlr, SH_IPR, 0) == 0) &&
	    && (edma_shadow0_read_array(ctlr, SH_IPR, 1) == 0))
	    (edma_shadow0_read_array(ctlr, SH_IPR, 1) == 0))
		return IRQ_NONE;
		return IRQ_NONE;


	while (1) {
	while (1) {
@@ -468,10 +468,10 @@ static irqreturn_t dma_ccerr_handler(int irq, void *data)
				}
				}
			}
			}
		}
		}
		if ((edma_read_array(ctlr, EDMA_EMR, 0) == 0)
		if ((edma_read_array(ctlr, EDMA_EMR, 0) == 0) &&
		    && (edma_read_array(ctlr, EDMA_EMR, 1) == 0)
		    (edma_read_array(ctlr, EDMA_EMR, 1) == 0) &&
		    && (edma_read(ctlr, EDMA_QEMR) == 0)
		    (edma_read(ctlr, EDMA_QEMR) == 0) &&
		    && (edma_read(ctlr, EDMA_CCERR) == 0))
		    (edma_read(ctlr, EDMA_CCERR) == 0))
			break;
			break;
		cnt++;
		cnt++;
		if (cnt > 10)
		if (cnt > 10)