public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Bing Zhao <bzhao@marvell.com>
Cc: linux-bluetooth@vger.kernel.org, Amitkumar Karwar <akarwar@marvell.com>
Subject: Re: [PATCH] Bluetooth: btmrvl: process interrupt in main thread to
Date: Thu, 08 Jul 2010 18:52:22 -0300	[thread overview]
Message-ID: <1278625942.10421.83.camel@localhost.localdomain> (raw)
In-Reply-To: <1275003517-18563-1-git-send-email-bzhao@marvell.com>

Hi Bing,

> When driver is sending a command or data and the firmware is also
> sending a sleep event, sometimes it is observed that driver will
> continue to send the command/data to firmware right after processing
> sleep event. Once sleep event is processed driver is not supposed to
> send anything because firmware is in sleep state after that. Previously
> interrupt processing was done in SDIO interrupt callback handler.
> Now it is done in btmrvl driver main thread to solve the
> cross-sending properly.
> 
> Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
> Signed-off-by: Bing Zhao <bzhao@marvell.com>
> ---
>  drivers/bluetooth/btmrvl_drv.h  |    1 +
>  drivers/bluetooth/btmrvl_main.c |    5 ++-
>  drivers/bluetooth/btmrvl_sdio.c |   97 ++++++++++++++++++++-------------------
>  3 files changed, 55 insertions(+), 48 deletions(-)

patch has been applied. Thanks.

Regards

Marcel



      reply	other threads:[~2010-07-08 21:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-27 23:38 [PATCH] Bluetooth: btmrvl: process interrupt in main thread to Bing Zhao
2010-07-08 21:52 ` Marcel Holtmann [this message]

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=1278625942.10421.83.camel@localhost.localdomain \
    --to=marcel@holtmann.org \
    --cc=akarwar@marvell.com \
    --cc=bzhao@marvell.com \
    --cc=linux-bluetooth@vger.kernel.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