linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* MAX7301 GPIO: Do not force SPI speed when using OF Platform
@ 2013-07-24 10:19 Roland Stigge
  2013-08-07 11:31 ` leroy christophe
  0 siblings, 1 reply; 6+ messages in thread
From: Roland Stigge @ 2013-07-24 10:19 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

commit 047b93a35961f7a6561e6f5dcb040738f822b892 introduced the following
to gpio-max7301.c:

	/* bits_per_word cannot be configured in platform data */
-	spi->bits_per_word = 16;
+	if (spi->dev.platform_data)
+		spi->bits_per_word = 16;
 	ret = spi_setup(spi);

Comment is: "The bit_per_word can be set in the OF Device tree, so no
need to force it as with the platform_data when using OF Platform"

Can you please point me to the respective OF option? I couldn't find it
under drivers/spi/spi* or Documentation/devicetree/bindings/spi/*.

Thanks in advance,

Roland

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

end of thread, other threads:[~2013-08-07 15:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-24 10:19 MAX7301 GPIO: Do not force SPI speed when using OF Platform Roland Stigge
2013-08-07 11:31 ` leroy christophe
2013-08-07 12:17   ` Roland Stigge
2013-08-07 12:35     ` leroy christophe
2013-08-07 12:46       ` Roland Stigge
2013-08-07 15:20         ` leroy christophe

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).