public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MAX7301 GPIO: Reverting "Do not force SPI speed when using OF Platform"
@ 2013-08-20  6:29 Christophe Leroy
  2013-08-20  7:57 ` Roland Stigge
  2013-08-23 17:47 ` Linus Walleij
  0 siblings, 2 replies; 4+ messages in thread
From: Christophe Leroy @ 2013-08-20  6:29 UTC (permalink / raw)
  To: Grant Likely, Linus Walleij, Grant Likely; +Cc: linux-kernel, stigge

This patch reverts commit 047b93a35961f7a6561e6f5dcb040738f822b892 which breaks
MAX7301 GPIO driver because that commit was dependant on a rejected patch that
was implementing selection of SPI speed from the Device Tree.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>

--- linux-3.11-rc6/drivers/gpio/gpio-max7301.c	2013-08-17 21:09:17.000000000 +0200
+++ linux/drivers/gpio/gpio-max7301.c	2013-08-18 06:31:52.000000000 +0200
@@ -56,8 +56,7 @@
 	int ret;
 
 	/* bits_per_word cannot be configured in platform data */
-	if (spi->dev.platform_data)
-		spi->bits_per_word = 16;
+	spi->bits_per_word = 16;
 	ret = spi_setup(spi);
 	if (ret < 0)
 		return ret;

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

end of thread, other threads:[~2013-08-24 16:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-20  6:29 [PATCH] MAX7301 GPIO: Reverting "Do not force SPI speed when using OF Platform" Christophe Leroy
2013-08-20  7:57 ` Roland Stigge
2013-08-23 17:47 ` Linus Walleij
2013-08-24 16:55   ` christophe leroy

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