linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Hauke Mehrtens <hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	hauke.mehrtens-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org,
	thomas.langer-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org,
	daniel.schwierzeck-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	john-Pj+rj9U5foFAfugRpC6u6w@public.gmane.org,
	nbd-Vt+b4OUoWG0@public.gmane.org
Subject: Re: [PATCH v2 1/2] spi: add check_finished() callback
Date: Sat, 4 Feb 2017 16:37:31 +0100	[thread overview]
Message-ID: <20170204153731.vspkf57eap7gpoqj@sirena.org.uk> (raw)
In-Reply-To: <2b2776c7-4322-e5c7-e169-7d60c1830518-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1368 bytes --]

On Sat, Feb 04, 2017 at 02:45:57PM +0100, Hauke Mehrtens wrote:
> ping Mark,
> 
> What should I do in the driver now?

Please don't top post, reply in line with needed context.  This allows
readers to readily follow the flow of conversation and understand what
you are talking about and also helps ensure that everything in the
discussion is being addressed.

Please don't send content free pings and please allow a reasonable time
for review.  People get busy, go on holiday, attend conferences and so 
on so unless there is some reason for urgency (like critical bug fixes)
please allow at least a couple of weeks for review.  If there have been
review comments then people may be waiting for those to be addressed.
Sending content free pings just adds to the mail volume (if they are
seen at all) and if something has gone wrong you'll have to resend the
patches anyway.

> > I can add the transfer status in some other way, no problem, but how do
> > I tell Linux that the transfer finished when it really finished. I also
> > tried to just ignore the last word, but when the controller is
> > configured for the next transfer, the old one gets corrupted.

As I've now said three or four times this sounds like you should use a
workqueue or something similar to do whatever is needed wait for the
hardware to finish whatever it's doing.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  parent reply	other threads:[~2017-02-04 15:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-11 20:03 [PATCH v2 0/2] spi: lantiq-ssc: add support for Lantiq SSC SPI controller Hauke Mehrtens
     [not found] ` <20161211200350.13590-1-hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
2016-12-11 20:03   ` [PATCH v2 1/2] spi: add check_finished() callback Hauke Mehrtens
     [not found]     ` <20161211200350.13590-2-hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
2016-12-14 15:21       ` Mark Brown
     [not found]         ` <20161214152156.uehjhqoxpng47pnh-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-12-14 21:48           ` Hauke Mehrtens
2016-12-17 22:16           ` Hauke Mehrtens
     [not found]             ` <7b420e94-3c33-3304-f7a0-ed87c8db425a-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
2017-01-10 12:34               ` Mark Brown
     [not found]                 ` <20170110123429.t6vsyqtnavranbdn-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2017-01-10 22:44                   ` Hauke Mehrtens
     [not found]                     ` <1d4bfe6a-c5a6-8fd5-310b-748413f7c946-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
2017-02-04 13:45                       ` Hauke Mehrtens
     [not found]                         ` <2b2776c7-4322-e5c7-e169-7d60c1830518-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
2017-02-04 15:37                           ` Mark Brown [this message]
2016-12-11 20:03   ` [PATCH v2 2/2] spi: lantiq-ssc: add support for Lantiq SSC SPI controller Hauke Mehrtens
     [not found]     ` <20161211200350.13590-3-hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
2016-12-14 15:34       ` Mark Brown
     [not found]         ` <20161214153407.du2f63irwl2fi72h-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-12-14 21:51           ` Hauke Mehrtens

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=20170204153731.vspkf57eap7gpoqj@sirena.org.uk \
    --to=broonie-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=daniel.schwierzeck-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org \
    --cc=hauke.mehrtens-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=john-Pj+rj9U5foFAfugRpC6u6w@public.gmane.org \
    --cc=linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=nbd-Vt+b4OUoWG0@public.gmane.org \
    --cc=thomas.langer-ral2JQCrhuEAvxtiuMwx3w@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 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).