All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
To: Shardar Shariff Md <smohammed-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Cc: swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org,
	thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org
Subject: Re: [PATCH v10 1/4] i2c: tegra: use readl_poll_timeout after config_load reg programmed
Date: Tue, 30 Aug 2016 22:32:55 +0200	[thread overview]
Message-ID: <20160830203254.GC3645@katana> (raw)
In-Reply-To: <1472584279-19924-1-git-send-email-smohammed-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

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

On Wed, Aug 31, 2016 at 12:41:16AM +0530, Shardar Shariff Md wrote:
> After CONFIG_LOAD register is programmed instead of explicitly waiting
> for timeout, use readl_poll_timeout() to check for register value to get
> updated or wait till timeout.
> 
> Signed-off-by: Shardar Shariff Md <smohammed-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> ---
> Changes in v4:
> - Split timeout calculation to separate patch
> 
> Changes in v5:
> - Move disabling of clock to separate patch
> 
> Changes in v8:
> - 1st change of [PATCH v7] series is merged, v8 is rebased on top of
>   merged change, here patch series is changed accordingly.
> - Updated the commit message as per review to properly reflect change.
> - calculate the register offset seperately to make code more readable.
> 
> Changes in v9:
> - Use readl_poll_timeout() instead of readx_poll_timeout()
> 
> Changes in V10:
> - Rebase on top of [PATCH V2 0/9] Some Tegra I2C Updates

Thanks for the rebase! However, my code checkers showed a few warnings:

    SPARSE
drivers/i2c/busses/i2c-tegra.c:504:21: warning: symbol 'val' shadows an earlier one
drivers/i2c/busses/i2c-tegra.c:451:13: originally declared here


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: Wolfram Sang <wsa@the-dreams.de>
To: Shardar Shariff Md <smohammed@nvidia.com>
Cc: swarren@wwwdotorg.org, thierry.reding@gmail.com,
	gnurou@gmail.com, linux-i2c@vger.kernel.org,
	linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org,
	jonathanh@nvidia.com
Subject: Re: [PATCH v10 1/4] i2c: tegra: use readl_poll_timeout after config_load reg programmed
Date: Tue, 30 Aug 2016 22:32:55 +0200	[thread overview]
Message-ID: <20160830203254.GC3645@katana> (raw)
In-Reply-To: <1472584279-19924-1-git-send-email-smohammed@nvidia.com>

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

On Wed, Aug 31, 2016 at 12:41:16AM +0530, Shardar Shariff Md wrote:
> After CONFIG_LOAD register is programmed instead of explicitly waiting
> for timeout, use readl_poll_timeout() to check for register value to get
> updated or wait till timeout.
> 
> Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
> ---
> Changes in v4:
> - Split timeout calculation to separate patch
> 
> Changes in v5:
> - Move disabling of clock to separate patch
> 
> Changes in v8:
> - 1st change of [PATCH v7] series is merged, v8 is rebased on top of
>   merged change, here patch series is changed accordingly.
> - Updated the commit message as per review to properly reflect change.
> - calculate the register offset seperately to make code more readable.
> 
> Changes in v9:
> - Use readl_poll_timeout() instead of readx_poll_timeout()
> 
> Changes in V10:
> - Rebase on top of [PATCH V2 0/9] Some Tegra I2C Updates

Thanks for the rebase! However, my code checkers showed a few warnings:

    SPARSE
drivers/i2c/busses/i2c-tegra.c:504:21: warning: symbol 'val' shadows an earlier one
drivers/i2c/busses/i2c-tegra.c:451:13: originally declared here


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  parent reply	other threads:[~2016-08-30 20:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-30 19:11 [PATCH v10 1/4] i2c: tegra: use readl_poll_timeout after config_load reg programmed Shardar Shariff Md
2016-08-30 19:11 ` Shardar Shariff Md
2016-08-30 19:11 ` [PATCH v10 2/4] i2c: tegra: add separate function for config_load programing Shardar Shariff Md
2016-08-30 19:11   ` Shardar Shariff Md
2016-08-30 20:30   ` Wolfram Sang
2016-08-30 19:11 ` [PATCH v10 3/4] i2c: tegra: use atomic poll function during configuration Shardar Shariff Md
2016-08-30 19:11   ` Shardar Shariff Md
     [not found]   ` <1472584279-19924-3-git-send-email-smohammed-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-08-30 20:30     ` Wolfram Sang
2016-08-30 20:30       ` Wolfram Sang
2016-08-30 19:11 ` [PATCH v10 4/4] i2c: tegra: proper handling of error cases Shardar Shariff Md
2016-08-30 19:11   ` Shardar Shariff Md
     [not found] ` <1472584279-19924-1-git-send-email-smohammed-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-08-30 20:32   ` Wolfram Sang [this message]
2016-08-30 20:32     ` [PATCH v10 1/4] i2c: tegra: use readl_poll_timeout after config_load reg programmed Wolfram Sang

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=20160830203254.GC3645@katana \
    --to=wsa-z923lk4zbo2bacvfa/9k2g@public.gmane.org \
    --cc=gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=smohammed-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
    --cc=thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.