Skip to contentSkip to conversation

Patch "mmc: sh_mmcif: Correct TX DMA channel allocation" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Mar 18, 2016

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

mmc: sh_mmcif: Correct TX DMA channel allocation

to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
mmc-sh_mmcif-correct-tx-dma-channel-allocation.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From a32ef81c9889c9554a3c4b465c4ee7b2d26c6b10 Mon Sep 17 00:00:00 2001

From: Chris Paterson <[email protected]>
Date: Wed, 10 Feb 2016 14:07:01 +0000
Subject: mmc: sh_mmcif: Correct TX DMA channel allocation

From: Chris Paterson <[email protected]>

commit a32ef81c9889c9554a3c4b465c4ee7b2d26c6b10 upstream.

Commit 27cbd7e815a8 ("mmc: sh_mmcif: rework dma channel handling") introduced a typo causing the TX DMA channel allocation to be overwritten by the requested RX DMA channel.

Fixes 27cbd7e815a8 ("mmc: sh_mmcif: rework dma channel handling")
---
 drivers/mmc/host/sh_mmcif.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/sh_mmcif.c +1 -1
@@ -445,7 +445,7 @@ static void sh_mmcif_request_dma(struct
 							pdata->slave_id_rx);
 	} else {
 		host->chan_tx = dma_request_slave_channel(dev, "tx");
-		host->chan_tx = dma_request_slave_channel(dev, "rx");
+		host->chan_rx = dma_request_slave_channel(dev, "rx");
 	}
 	dev_dbg(dev, "%s: got channel TX %p RX %p\n", __func__, host->chan_tx,
 		host->chan_rx);

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/mmc-sh_mmcif-correct-tx-dma-channel-allocation.patch