[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200807050219.52218.marek.vasut@gmail.com>
Date: Sat, 5 Jul 2008 02:19:52 +0200
From: Marek Vasut <marek.vasut@...il.com>
To: linux-kernel@...r.kernel.org
Cc: drzeus-mmc@...eus.cx
Subject: [PATCH] fix misalignment in pxamci
Hi,
Philipp Zabel finally made the pxamci issue clear. It turned out, that pxamci
needs the DMA destination address to be aligned to 8 bytes. In some cases it
happened, that the address was aligned to 4 bytes causing controller to
incorrectly transfer data (and resulting into error like "mmc0: unrecognised
SCR structure version 1"). The following patch allows to debug this issue and
moreover fixes it by moving one 4 byte entry of mmc_card structure, aligning
the DMA destination back to 8 bytes.
Signed-off-by: Marek Vasut <marek.vasut@...il.com>
View attachment "pxamci-lkml.patch" of type "text/x-diff" (1767 bytes)
Powered by blists - more mailing lists