public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: khilman@ti.com (Kevin Hilman)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCHV3 2/4] OMAP: I2C: Remove the reset in the init path
Date: Thu, 21 Jul 2011 08:30:29 -0700	[thread overview]
Message-ID: <87hb6fabxm.fsf@ti.com> (raw)
In-Reply-To: <1311256381-25548-3-git-send-email-shubhrajyoti@ti.com> (Shubhrajyoti D.'s message of "Thu, 21 Jul 2011 19:22:59 +0530")

Shubhrajyoti D <shubhrajyoti@ti.com> writes:

> The reset in the driver at init is not needed
> anymore as the hwmod framework takes care of
> reseting it.

Agreed, but...

The addition of the new places for reset (after timeout, after error) is
not immediately clear, and not described here at all.

After digging myself (since it wasn't described in the changelog), I see
that since the reset was removed from omap_i2c_init(), which was called
not only during probe, but also after time out and error handling, new
reset calls were added back in those locations.

This is the kind of thing that needs to be thoroughly described in the
changelog so reviewers who are not necessarily experts in this driver
will easily and *quickly* understand what is going on without having to
dig into all the details themselves.

Summary: Descriptive, detailed changelogs are invaluable to
reviewers/maintainers.

Kevin

  parent reply	other threads:[~2011-07-21 15:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-21 13:52 [PATCHV3 0/4] The series attempts to do the following Shubhrajyoti D
2011-07-21 13:52 ` [PATCHV3 1/4] OMAP: I2C: Reset support Shubhrajyoti D
2011-07-21 13:52 ` [PATCHV3 2/4] OMAP: I2C: Remove the reset in the init path Shubhrajyoti D
2011-07-21 13:59   ` Felipe Balbi
2011-07-21 15:24     ` Shubhrajyoti
2011-07-21 15:30   ` Kevin Hilman [this message]
2011-07-21 13:53 ` [PATCHV3 3/4] OMAP: I2C: Remove the SYSC register definition Shubhrajyoti D
2011-07-21 13:53 ` [PATCHV3 4/4] OMAP: I2C: I2C register restore only if context is lost Shubhrajyoti D
2011-07-21 15:32 ` [PATCHV3 0/4] The series attempts to do the following Kevin Hilman

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=87hb6fabxm.fsf@ti.com \
    --to=khilman@ti.com \
    --cc=linux-arm-kernel@lists.infradead.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