From: Christophe Leroy <christophe.leroy@c-s.fr>
To: Grant Likely <grant.likely@secretlab.ca>,
Linus Walleij <linus.walleij@linaro.org>
To: Grant Likely <grant.likely@secretlab.ca>
Cc: linux-kernel@vger.kernel.org, stigge@antcom.de
Subject: [PATCH] MAX7301 GPIO: Reverting "Do not force SPI speed when using OF Platform"
Date: Tue, 20 Aug 2013 08:29:23 +0200 [thread overview]
Message-ID: <201308200629.r7K6TNUS010648@localhost.localdomain> (raw)
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;
next reply other threads:[~2013-08-20 6:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-20 6:29 Christophe Leroy [this message]
2013-08-20 7:57 ` [PATCH] MAX7301 GPIO: Reverting "Do not force SPI speed when using OF Platform" Roland Stigge
2013-08-23 17:47 ` Linus Walleij
2013-08-24 16:55 ` christophe leroy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201308200629.r7K6TNUS010648@localhost.localdomain \
--to=christophe.leroy@c-s.fr \
--cc=grant.likely@secretlab.ca \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=stigge@antcom.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox