linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@qca.qualcomm.com>
To: Michal Kazior <michal.kazior@tieto.com>
Cc: <ath10k@lists.infradead.org>, <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH 5/5] ath10k: replace power up/down with reset callback
Date: Mon, 13 Oct 2014 11:01:07 +0300	[thread overview]
Message-ID: <87fves9z5o.fsf@kamboji.qca.qualcomm.com> (raw)
In-Reply-To: <1412842950-14098-6-git-send-email-michal.kazior@tieto.com> (Michal Kazior's message of "Thu, 9 Oct 2014 10:22:30 +0200")

Michal Kazior <michal.kazior@tieto.com> writes:

> The power up/down didn't make much sense any more
> since hif_stop already stops the device
> compeletely. The target lifecycle was never symmetric
> so don't bother trying to make it look like it is
> and expose a reset hif callback instead of power
> up/down callbacks.
>
> This removes redundant reset calls and thus makes
> device boot/stop/recovery a bit faster.
>
> Signed-off-by: Michal Kazior <michal.kazior@tieto.com>

About this I'm not that sure. The reason why I wanted to have power_up()
and power_down() is the case when we need to control the target power
via a gpio line, which I anticipate we will need soon. If you remove
these how could we control the gpio line?

Wouldn't it be the same that you just make hif_power_up() do the same as
hif_reset() and hif_power_down() doesn't do anything (for now)? Or am I
missing something?

-- 
Kalle Valo

  reply	other threads:[~2014-10-13  8:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-09  8:22 [PATCH 0/5] ath10k: pci related fixes 2014-10-09 Michal Kazior
2014-10-09  8:22 ` [PATCH 1/5] ath10k: re-disable interrupts after target init Michal Kazior
2014-10-09  8:22 ` [PATCH 2/5] ath10k: mask/unmask msi fw irq Michal Kazior
2014-10-09  8:22 ` [PATCH 3/5] ath10k: make warm reset a bit safer and faster Michal Kazior
2014-10-10  7:36   ` Michal Kazior
2014-10-09  8:22 ` [PATCH 4/5] ath10k: split reset logic from power up Michal Kazior
2014-10-13  7:38   ` Kalle Valo
2014-10-09  8:22 ` [PATCH 5/5] ath10k: replace power up/down with reset callback Michal Kazior
2014-10-13  8:01   ` Kalle Valo [this message]
2014-10-13  8:25     ` Michal Kazior

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=87fves9z5o.fsf@kamboji.qca.qualcomm.com \
    --to=kvalo@qca.qualcomm.com \
    --cc=ath10k@lists.infradead.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=michal.kazior@tieto.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;
as well as URLs for NNTP newsgroup(s).