[alsa-devel] [PATCH] wm8994: avoid to enable dcs done irq before init completion dcs_done
Mark Brown
broonie at kernel.org
Thu Nov 21 12:23:01 CET 2013
On Thu, Nov 21, 2013 at 09:22:58AM +0800, wangbiao wrote:
> From: wang, biao <biao.wang at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20131121/a3528669/attachment.sig>
More information about the Alsa-devel
mailing list