All of lore.kernel.org
 help / color / mirror / Atom feed
* [Patch 0/1] spi: Fix pxa2xx_spi.c chip select sequence error
@ 2008-02-18  4:35 Ned Forrester
       [not found] ` <47B90B11.6000601-/d+BM93fTQY@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Ned Forrester @ 2008-02-18  4:35 UTC (permalink / raw)
  To: David Brownell; +Cc: spi-devel, merrij3-IL7dBOYR4Vg, Stephen Street

My next message of this subject contains a patch for the issue 
initially raised by the thread: "PXA270 SSPSFRM gates chip select ?" 

This patch is created to apply to the development kernel: 2.6.25-rc1.
This kernel has a newly re-organized regs-ssp.h file, and since I
needed to add a new bit definition to that file, it is included in the
patch. However, as noted in the comments to the patch, kernels 2.6.20
(when the bug was introduced) through 2.6.24 have the ssp bit
definitions in pxa-regs.h, so the extra bit needs to be added there
for the earlier versions.

David: 

Is there a defined procedure for distributing patches the can be
applied to different kernel versions, when they won't apply directly?

---

Also note that I am still developing on 2.6.20, and so I have only
tested this code on that version.  Furthermore, I don't use chip
select, so really I just compiled and ran the changes to show that
they do no harm.

David:

Can I assume that you or someone up the chain will go through the
motions of applying this patch to 2.6.25 and showing that it compiles?
I really don't expect any trouble with that.

Scott:

Can you apply the patch to your 2.6.21 tree, and see if it fixes your
original problem?  Note that you will have to add the bit definition 
line to include/asm-arm/arch-pxa/pxa-regs.h, by hand, or alter the 
file names in the patch from regs-ssp.h to pxa-regs.h

-- 
Ned Forrester                                       nforrester-/d+BM93fTQY@public.gmane.org
Oceanographic Systems Lab                                  508-289-2226
Applied Ocean Physics and Engineering Dept.
Woods Hole Oceanographic Institution          Woods Hole, MA 02543, USA
http://www.whoi.edu/sbl/liteSite.do?litesiteid=7212
http://www.whoi.edu/hpb/Site.do?id=1532
http://www.whoi.edu/page.do?pid=10079


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

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

end of thread, other threads:[~2008-02-20 22:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-18  4:35 [Patch 0/1] spi: Fix pxa2xx_spi.c chip select sequence error Ned Forrester
     [not found] ` <47B90B11.6000601-/d+BM93fTQY@public.gmane.org>
2008-02-18 22:21   ` J. Scott Merritt
     [not found]     ` <20080218172128.6fd1522c.merrij3-IL7dBOYR4Vg@public.gmane.org>
2008-02-18 23:03       ` Ned Forrester
     [not found]         ` <47BA0ED9.5040501-/d+BM93fTQY@public.gmane.org>
2008-02-20 18:26           ` Ned Forrester
2008-02-20 22:48   ` David Brownell

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.