linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Purpose of the  "msg->status"
@ 2010-03-15 10:13 Centelles, Sylvain
       [not found] ` <2A84145621092446B6659B8A0F28E26F4245B483E9-IGOiFh9zz4x9qrmMLTLiibfspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Centelles, Sylvain @ 2010-03-15 10:13 UTC (permalink / raw)
  To: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org

Hi,
I'm currently working on a spi driver for Intel platform, and when reading the various other spi drivers available in the kernel, I saw the msg->status was often updated (EINPROGRESS for example), but could not figure out who checks this status. I would have thought it would be needed to prevent concurrent access for example, but I didn't see anything in the core, nore in any driver. If it's not needed, then I would not like to carry some useless status updates in the driver I'm currently working on.
Maybe I missed something... So if someone can please give some info on this, it would be great!

Regards,
Sylvain
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

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

end of thread, other threads:[~2010-03-15 14:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-15 10:13 Purpose of the "msg->status" Centelles, Sylvain
     [not found] ` <2A84145621092446B6659B8A0F28E26F4245B483E9-IGOiFh9zz4x9qrmMLTLiibfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2010-03-15 11:05   ` Baruch Siach
     [not found]     ` <20100315110553.GC11196-X57xyCW21FZ5l4KbKkTfamZHpeb/A1Y/@public.gmane.org>
2010-03-15 13:06       ` Centelles, Sylvain
     [not found]         ` <2A84145621092446B6659B8A0F28E26F4245B4844E-IGOiFh9zz4x9qrmMLTLiibfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2010-03-15 13:18           ` Baruch Siach
     [not found]             ` <20100315131822.GA32236-X57xyCW21FZ5l4KbKkTfamZHpeb/A1Y/@public.gmane.org>
2010-03-15 13:49               ` Centelles, Sylvain
     [not found]                 ` <2A84145621092446B6659B8A0F28E26F4245B4846D-IGOiFh9zz4x9qrmMLTLiibfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2010-03-15 14:09                   ` Baruch Siach
2010-03-15 13:53           ` jassi brar
     [not found]             ` <1b68c6791003150653g6f58fbd7u4c0077f01605610d-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-03-15 14:09               ` Centelles, Sylvain
     [not found]                 ` <2A84145621092446B6659B8A0F28E26F4245B48476-IGOiFh9zz4x9qrmMLTLiibfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2010-03-15 14:15                   ` jassi brar

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