From: Tony Lindgren <tony@atomide.com>
To: "Pakaravoor, Jagadeesh" <j-pakaravoor@ti.com>
Cc: "felipe.balbi@nokia.com" <felipe.balbi@nokia.com>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: [PATCH] TWL4030-RTC: Remove obsolete comment
Date: Wed, 20 Aug 2008 15:29:51 +0300 [thread overview]
Message-ID: <20080820122950.GJ29374@atomide.com> (raw)
In-Reply-To: <EAF47CD23C76F840A9E7FCE10091EFAB020F89F02A@dbde02.ent.ti.com>
* Pakaravoor, Jagadeesh <j-pakaravoor@ti.com> [080819 18:09]:
> > -----Original Message-----
> > From: Felipe Balbi [mailto:felipe.balbi@nokia.com]
> > Sent: Tuesday, August 19, 2008 8:12 PM
> > To: Pakaravoor, Jagadeesh
> > Cc: linux-omap@vger.kernel.org
> > Subject: Re: [PATCH] TWL4030-RTC: Remove obsolete comment
> >
> > On Tue, Aug 19, 2008 at 07:50:26PM +0530, ext Pakaravoor, Jagadeesh wrote:
> > > From: Jagadeesh Bhaskar Pakaravoor <j-pakaravoor@ti.com>
> > >
> > > TWL4030-RTC: Remove obsolete comment.
> > >
> > > Signed-off-by: Jagadeesh Bhaskar Pakaravoor <j-pakaravoor@ti.com>
> > > Index: my-local-git-dir/drivers/rtc/rtc-twl4030.c
> > > ===================================================================
> > > --- my-local-git-dir.orig/drivers/rtc/rtc-twl4030.c 2008-08-19 19:20:24.000000000 +0530
> > > +++ my-local-git-dir/drivers/rtc/rtc-twl4030.c 2008-08-19 19:28:43.037746119 +0530
> > > @@ -446,12 +446,6 @@ static irqreturn_t twl4030_rtc_interrupt
> > > REG_RTC_STATUS_REG);
> > > if (res)
> > > goto out;
> > > - /*
> > > - * Workaround for strange behaviour with T2. Need to write into ISR
> > > - * register one more time to clear the interrupt. Otherwise, the same
> > > - * RTC event generates 2 interrupts in a row.
> > > - * (no errata document available)
> > > - */
> > > res = twl4030_i2c_write_u8(TWL4030_MODULE_INT,
> > > PWR_RTC_INT_CLR, REG_PWR_ISR1);
> > > if (res)
> >
> > Why is this obsolete? Seems quite a good comment to me. Removing it
> > might turn into someone removing that line and make t2's rtc misbehave.
> >
> > Maybe you wanna remove only the "no errata" line if there is any errata
> > available but the comment itself is quite valuable.
> >
>
> Currently there is only one write to the ISR (REG_PWR_ISR1), where as previously there used to be two writes. So the comment is no more valid.
Sounds like a valid patch then. Pushing today.
Tony
>
> --
> Jagadeesh
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2008-08-20 12:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-19 14:20 [PATCH] TWL4030-RTC: Remove obsolete comment Pakaravoor, Jagadeesh
2008-08-19 14:42 ` Felipe Balbi
2008-08-19 14:59 ` Pakaravoor, Jagadeesh
2008-08-20 12:29 ` Tony Lindgren [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=20080820122950.GJ29374@atomide.com \
--to=tony@atomide.com \
--cc=felipe.balbi@nokia.com \
--cc=j-pakaravoor@ti.com \
--cc=linux-omap@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