* [merged] spi-imx-initialize-complete-config-struct.patch removed from -mm tree
@ 2009-10-05 18:39 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2009-10-05 18:39 UTC (permalink / raw)
To: u.kleine-koenig, dbrownell, g.liakhovetski, s.hauer, mm-commits
The patch titled
spi-imx: initialize complete config struct
has been removed from the -mm tree. Its filename was
spi-imx-initialize-complete-config-struct.patch
This patch was dropped because it was merged into mainline or a subsystem tree
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: spi-imx: initialize complete config struct
From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Otherwise the config function uses random data from the stack. This
didn't stick out because config is called once more in the chipselect
function with correct parameters.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/spi/spi_imx.c | 1 +
1 file changed, 1 insertion(+)
diff -puN drivers/spi/spi_imx.c~spi-imx-initialize-complete-config-struct drivers/spi/spi_imx.c
--- a/drivers/spi/spi_imx.c~spi-imx-initialize-complete-config-struct
+++ a/drivers/spi/spi_imx.c
@@ -442,6 +442,7 @@ static int spi_imx_setupxfer(struct spi_
config.bpw = t ? t->bits_per_word : spi->bits_per_word;
config.speed_hz = t ? t->speed_hz : spi->max_speed_hz;
config.mode = spi->mode;
+ config.cs = spi_imx->chipselect[spi->chip_select];
if (!config.speed_hz)
config.speed_hz = spi->max_speed_hz;
_
Patches currently in -mm which might be from u.kleine-koenig@pengutronix.de are
linux-next.patch
--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-10-05 18:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-05 18:39 [merged] spi-imx-initialize-complete-config-struct.patch removed from -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).