linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Helmut Grohne <h.grohne@intenta.de>
To: Shubhrajyoti Datta <shubhrajyoti.datta@gmail.com>
Cc: "linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
	Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Subject: Re: [PATCH 4.6 69/81] gpio: zynq: initialize clock even without CONFIG_PM
Date: Tue, 2 Aug 2016 12:58:05 +0200	[thread overview]
Message-ID: <20160802105805.GA25787@laureti-dev> (raw)
In-Reply-To: <CAKfKVtGedpeOYYaxO4JMoxHeLep5o8C4md1quAsUVQo0vvEtAQ@mail.gmail.com>

On Tue, Aug 02, 2016 at 10:59:05AM +0200, Shubhrajyoti Datta wrote:
> I feel that if you can print the clk enable count in at boot things
> could be easy
> to understand.

I verifed this via two ways now (holds both for CONFIG_PM=y and
CONFIG_PM=n):

 * zynq_gpio_runtime_resume is not called (as expected given my
   analysis). I simply added a printk to check that.
 * After boot, /sys/kernel/debug/clk/gpio_aper/clk_enable_count also
   confirms my analysis by yielding "1".

Thus I conclude that there there is no bug. Neither in theory nor in
practise.

Helmut

      reply	other threads:[~2016-08-02 10:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20160622223743.240652686@linuxfoundation.org>
     [not found] ` <20160622223746.777833462@linuxfoundation.org>
     [not found]   ` <CAKfKVtEFF=PvZ62N-Re9BX4iq+pCK5qchbp7N3TworkpRkAZZQ@mail.gmail.com>
2016-07-21 10:57     ` [PATCH 4.6 69/81] gpio: zynq: initialize clock even without CONFIG_PM Helmut Grohne
2016-08-02  8:59       ` Shubhrajyoti Datta
2016-08-02 10:58         ` Helmut Grohne [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=20160802105805.GA25787@laureti-dev \
    --to=h.grohne@intenta.de \
    --cc=linux-gpio@vger.kernel.org \
    --cc=shubhrajyoti.datta@gmail.com \
    --cc=shubhrajyoti.datta@xilinx.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).