public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 3.9-stable] mmc: dw_mmc: fix fifo access for 64-bit
@ 2013-05-06  4:33 Jonghwan Choi
  2013-05-16 22:14 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Jonghwan Choi @ 2013-05-06  4:33 UTC (permalink / raw)
  To: 'Jonghwan Choi', linux-kernel
  Cc: stable, 'Seungwon Jeon', 'Jaehoon Chung',
	'Chris Ball'

This patch looks like it should be in the 3.9-stable tree, should we apply
it?

------------------

From: "Seungwon Jeon <tgih.jun@samsung.com>"

commit c09fbd7451b797213b3df8bf077776b9ec33f954 upstream

mci_writew causes a failure of fifo access for 64-bit.
mci_writeq is correct.

Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
---
 drivers/mmc/host/dw_mmc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
index 9834221..cc8d8de 100644
--- a/drivers/mmc/host/dw_mmc.c
+++ b/drivers/mmc/host/dw_mmc.c
@@ -1353,7 +1353,7 @@ static void dw_mci_push_data64(struct dw_mci *host,
void *buf, int cnt)
 		buf += len;
 		cnt -= len;
 		if (!sg_next(host->sg) || host->part_buf_count == 8) {
-			mci_writew(host, DATA(host->data_offset),
+			mci_writeq(host, DATA(host->data_offset),
 					host->part_buf);
 			host->part_buf_count = 0;
 		}
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 3.9-stable] mmc: dw_mmc: fix fifo access for 64-bit
  2013-05-06  4:33 [PATCH 3.9-stable] mmc: dw_mmc: fix fifo access for 64-bit Jonghwan Choi
@ 2013-05-16 22:14 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2013-05-16 22:14 UTC (permalink / raw)
  To: Jonghwan Choi
  Cc: linux-kernel, stable, 'Seungwon Jeon',
	'Jaehoon Chung', 'Chris Ball'

On Mon, May 06, 2013 at 01:33:22PM +0900, Jonghwan Choi wrote:
> This patch looks like it should be in the 3.9-stable tree, should we apply
> it?

It doesn't apply to the 3.9 tree, so it's going to be bit hard to do
this...

sorry,

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-16 22:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-06  4:33 [PATCH 3.9-stable] mmc: dw_mmc: fix fifo access for 64-bit Jonghwan Choi
2013-05-16 22:14 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox