mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: wangbiao <biao.wang@intel.com>
Cc: Liam Girdwood <lgirdwood@gmail.com>,
	Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.de>,
	Vinod Koul <vinod.koul@intel.com>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Dan Carpenter <dan.carpenter@oracle.com>,
	patches@opensource.wolfsonmicro.com, alsa-devel@alsa-project.org,
	linux-kernel@vger.kernel.org, mingo@elte.hu,
	a.p.zijlstra@chello.nl, akpm@linux-foundation.org,
	di.zhang@intel.com
Subject: Re: [PATCH] wm8994: avoid to enable dcs done irq before init completion dcs_done
Date: Thu, 21 Nov 2013 11:23:01 +0000	[thread overview]
Message-ID: <20131121112301.GN2674@sirena.org.uk> (raw)
In-Reply-To: <1384996978.19494.7.camel@wangbiao>

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

On Thu, Nov 21, 2013 at 09:22:58AM +0800, wangbiao wrote:

> From: wang, biao <biao.wang@intel.com>
> Date: Wed, 20 Nov 2013 17:53:28 +0800
> Subject: [PATCH] wm8994: avoid to enable dcs done irq before init completion dcs_done

Please don't include things like this in the body of your mail unless
you are overriding things in the header, submit things in the format
documented in SubmittingPatches.  This will avoid confusing tools used
to handle patches.

Please also try to send your mail to only relevant people, the CC list
above is very broad.  Many kernel developers get a lot of mail so it's
good to be sure that you know why everyone on the CC list is there.

> once code return from request_threaded_irq, irq was setup enabled by
> default, but completion var dcs_done not got initialized yet, if then a
> dcs done irq was raised, system will got hung as the sync mechanism is
> invalid now.

> so this patch try not enable irq when request it until we got things
> ready.

I would expect to see a patch such as this moving either the interrupt
request or (more likely) the completion init.  However that's not what
this patch does.  Why is this?  The most obvious thing here would be to
move the initialisation of the completion to the start of the probe()
function.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2013-11-21 11:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-21  1:22 wangbiao
2013-11-21 11:23 ` Mark Brown [this message]
2013-11-22  2:44 ` [PATCH V2] wm8994: move dcs done irq request to the end of initialization of completion wangbiao
2013-11-27 18:17   ` Mark Brown

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=20131121112301.GN2674@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=a.p.zijlstra@chello.nl \
    --cc=akpm@linux-foundation.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=biao.wang@intel.com \
    --cc=dan.carpenter@oracle.com \
    --cc=di.zhang@intel.com \
    --cc=lars@metafoo.de \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=patches@opensource.wolfsonmicro.com \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.de \
    --cc=vinod.koul@intel.com \
    /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

all inboxes | Powered by JetHome®