From: "Eric Bénard" <eric@eukrea.com>
To: barebox@lists.infradead.org
Subject: [PATCH 1/4] mxs_spi: unbreak driver
Date: Tue, 10 Sep 2013 19:13:31 +0200 [thread overview]
Message-ID: <1378833214-19808-1-git-send-email-eric@eukrea.com> (raw)
since the switch to common clock, SPI driver reports :
MXS: Timeout resetting block via register 0x80014000
mxs_spi mxs_spi2: MXS SPI: Timeout waiting for start
The reason is that the clock is not enabled anywhere in
the driver.
Signed-off-by: Eric Bénard <eric@eukrea.com>
---
drivers/spi/mxs_spi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/spi/mxs_spi.c b/drivers/spi/mxs_spi.c
index a803652..a00784f 100644
--- a/drivers/spi/mxs_spi.c
+++ b/drivers/spi/mxs_spi.c
@@ -270,6 +270,7 @@ static int mxs_spi_probe(struct device_d *dev)
mxs->clk = clk_get(dev, NULL);
if (IS_ERR(mxs->clk))
return PTR_ERR(mxs->clk);
+ clk_enable(mxs->clk);
spi_register_master(master);
--
1.8.3.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2013-09-10 17:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-10 17:13 Eric Bénard [this message]
2013-09-10 17:13 ` [PATCH 2/4] nand_mxs: fix on i.MX28 Eric Bénard
2013-09-10 17:13 ` [PATCH 3/4] video/stm: don't fail when the pixel clock is properly set Eric Bénard
2013-09-10 17:13 ` [PATCH 4/4] video/stm: enable clock to get the display working Eric Bénard
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=1378833214-19808-1-git-send-email-eric@eukrea.com \
--to=eric@eukrea.com \
--cc=barebox@lists.infradead.org \
/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