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

Commit 80175f93 authored by Vince Bridgers's avatar Vince Bridgers Committed by David S. Miller
Browse files

Altera TSE: Correct two typos in original submission



This patch addresses two typos in the original driver submission. One derived
from a cut & paste error, and another is a misspelling.

Signed-off-by: default avatarVince Bridgers <vbridgers2013@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a804ad0e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -84,8 +84,8 @@ int sgdma_initialize(struct altera_tse_private *priv)
		return -EINVAL;
	}

	priv->txdescphys = dma_map_single(priv->device, priv->rx_dma_desc,
					  priv->rxdescmem, DMA_TO_DEVICE);
	priv->txdescphys = dma_map_single(priv->device, priv->tx_dma_desc,
					  priv->txdescmem, DMA_TO_DEVICE);

	if (dma_mapping_error(priv->device, priv->txdescphys)) {
		sgdma_uninitialize(priv);
@@ -340,7 +340,7 @@ static int sgdma_async_read(struct altera_tse_private *priv)
		/* clear control and status */
		iowrite32(0, &csr->control);

		/* If statuc available, clear those bits */
		/* If status available, clear those bits */
		if (sts & 0xf)
			iowrite32(0xf, &csr->status);