From: Tony Lindgren <tony@atomide.com>
To: Felipe Balbi <balbi@ti.com>
Cc: Linux OMAP Mailing List <linux-omap@vger.kernel.org>
Subject: Re: [QUESTION] what's the problem with CBUS ?
Date: Thu, 30 Dec 2010 12:53:31 -0800 [thread overview]
Message-ID: <20101230205331.GF7771@atomide.com> (raw)
In-Reply-To: <20101227171815.GB2235@legolas.emea.dhcp.ti.com>
Hi,
Sorry for the delay in responding, mostly in read-only mode this
week :)
* Felipe Balbi <balbi@ti.com> [101227 09:17]:
> >
> >What was the problem you saw with N810 which caused the need for
> >commit fc8c2f1dba400e9a0d1d82756e0e2f52dfe2f4b6, quoted below ?
Heh found it after some debugging, we need to call init_completion :)
> >Also, the rtc->reset_occured flag seems to be quite useless as it's
> >never read, only written.
Yeah looks like that can be removed.
Reverted the earlier if 0 hack and pushed the following patch
to the cbus branch.
Regards,
Tony
From: Tony Lindgren <tony@atomide.com>
Date: Thu, 30 Dec 2010 12:47:00 -0800
Subject: [PATCH] cbus: Fix retu_rtc_do_reset
We need to also call init_completion before using it.
Signed-off-by: Tony Lindgren <tony@atomide.com>
--- a/drivers/cbus/retu-rtc.c
+++ b/drivers/cbus/retu-rtc.c
@@ -289,6 +289,7 @@ static int __init retu_rtc_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, rtc);
INIT_WORK(&rtc->work, retu_rtca_expired);
mutex_init(&rtc->mutex);
+ init_completion(&rtc->sync);
r = retu_get_status();
if (!r) {
next prev parent reply other threads:[~2010-12-30 20:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-27 17:13 [QUESTION] what's the problem with CBUS ? Felipe Balbi
2010-12-27 17:18 ` Felipe Balbi
2010-12-30 20:53 ` Tony Lindgren [this message]
2011-01-01 0:01 ` Felipe Balbi
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=20101230205331.GF7771@atomide.com \
--to=tony@atomide.com \
--cc=balbi@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 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.