From: Daniel Ribeiro <drwyrm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Eric Miao <eric.y.miao-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: David Brownell <david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>,
Russell King - ARM Linux
<linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>,
Eric Miao <eric.miao-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>,
linux-arm-kernel
<linux-arm-kernel-xIg/pKzrS19vn6HldHNs0ANdhmdF6hFW@public.gmane.org>,
spi-devel-general
<spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: Kernel freeze caused by a7bb3909b3293d503211d7f6af8ed62c1644b686
Date: Wed, 08 Apr 2009 22:48:03 -0300 [thread overview]
Message-ID: <1239241683.1194.4.camel@brutus> (raw)
In-Reply-To: <f17812d70904081741n440fc5b4w35e55424e9c35a25-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Em Qui, 2009-04-09 às 08:41 +0800, Eric Miao escreveu:
> > I bisected it, and found that commit
> > a7bb3909b3293d503211d7f6af8ed62c1644b686 is the culprit.
> >
> > My code still uses cs_control to toggle the CS gpio. Is your commit
> > supposed to deprecate cs_control?
> >
>
> No, should be backward compatible and I verified it before submitting
> the patch. Could you please help identify why it fails and I'm going to
> reproduce it here as well.
Fix is trivial, sorry for not seeing this earlier. I have no idea why my
device freezes at startup, but this is enough to get everything working
again.
Correct typo on pxa2xx-spi.c cs_deassert.
Signed-off-by: Daniel Ribeiro <drwyrm@gmail.com>
diff --git a/drivers/spi/pxa2xx_spi.c b/drivers/spi/pxa2xx_spi.c
index 79d7341..1a00b41 100644
--- a/drivers/spi/pxa2xx_spi.c
+++ b/drivers/spi/pxa2xx_spi.c
@@ -195,7 +195,7 @@ static void cs_deassert(struct driver_data *drv_data)
struct chip_data *chip = drv_data->cur_chip;
if (chip->cs_control) {
- chip->cs_control(PXA2XX_CS_ASSERT);
+ chip->cs_control(PXA2XX_CS_DEASSERT);
return;
}
--
Daniel Ribeiro
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
spi-devel-general mailing list
spi-devel-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spi-devel-general
next prev parent reply other threads:[~2009-04-09 1:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-08 18:28 Kernel freeze caused by a7bb3909b3293d503211d7f6af8ed62c1644b686 Daniel Ribeiro
2009-04-09 0:41 ` Eric Miao
[not found] ` <f17812d70904081741n440fc5b4w35e55424e9c35a25-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-04-09 1:48 ` Daniel Ribeiro [this message]
2009-04-09 2:03 ` Eric Miao
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=1239241683.1194.4.camel@brutus \
--to=drwyrm-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org \
--cc=eric.miao-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org \
--cc=eric.y.miao-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-arm-kernel-xIg/pKzrS19vn6HldHNs0ANdhmdF6hFW@public.gmane.org \
--cc=linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org \
--cc=spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.