| Submitter | Haojian Zhuang |
|---|---|
| Date | Dec. 22, 2011, 8:54 a.m. |
| Message ID | <1324544051-1494-1-git-send-email-haojian.zhuang@marvell.com> |
| Download | mbox | patch |
| Permalink | /patch/132790/ |
| State | New |
| Headers | show
Return-Path: <rtc-linux+bncCObKqo_qFxDt4sv3BBoEmZF0oA@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-pz0-f56.google.com (mail-pz0-f56.google.com [209.85.210.56]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id A8F83B7151 for <incoming@patchwork.ozlabs.org>; Thu, 22 Dec 2011 19:59:29 +1100 (EST) Received: by dafa1 with SMTP id a1sf6192467daf.11 for <incoming@patchwork.ozlabs.org>; Thu, 22 Dec 2011 00:59:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=mime-version:x-beenthere:received-spf:from:to:cc:subject:date :message-id:x-mailer:x-originalarrivaltime:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=fl1DbgBcVFQ1MDKpk01iO/tbmBnxRJRldNoM7YomrGo=; b=e0jUJNblWIJst7ShXVlQE1JBs0HtDO2chnp1UsiVVIKOnjJ5SV8Rwf9+Zg8wkQAOUQ iu9QMurWM+yf5+6NGbLX7jKxfxVCFzROC1mt0qFTuhzwWfm2fo5brjuTeE9lAGpFdzC3 m0dyyqjhuQAdQoWseU8qjOTFRS88ZCnVTLR1Q= Received: by 10.68.211.131 with SMTP id nc3mr2090580pbc.16.1324544365932; Thu, 22 Dec 2011 00:59:25 -0800 (PST) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.68.157.41 with SMTP id wj9ls12187434pbb.6.gmail; Thu, 22 Dec 2011 00:59:25 -0800 (PST) Received: by 10.68.190.71 with SMTP id go7mr7357808pbc.8.1324544365597; Thu, 22 Dec 2011 00:59:25 -0800 (PST) Received: by 10.68.190.71 with SMTP id go7mr7357807pbc.8.1324544365585; Thu, 22 Dec 2011 00:59:25 -0800 (PST) Received: from na3sys009aog124.obsmtp.com ([74.125.149.151]) by gmr-mx.google.com with SMTP id n6si11047429pbg.2.2011.12.22.00.59.20; Thu, 22 Dec 2011 00:59:25 -0800 (PST) Received-SPF: error (google.com: error in processing during lookup of hzhuang1@marvell.com: DNS timeout) client-ip=74.125.149.151; Received: from MSI-MTA.marvell.com ([65.219.4.132]) by na3sys009aob124.postini.com ([74.125.148.12]) with SMTP ID DSNKTvLxaEJOFF3nJfC4y+ISiH21CZSWf+OG@postini.com; Thu, 22 Dec 2011 00:59:25 PST Received: from maili.marvell.com ([10.68.76.210]) by MSI-MTA.marvell.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 22 Dec 2011 00:49:34 -0800 Received: from localhost (unknown [10.38.164.65]) by maili.marvell.com (Postfix) with ESMTP id 573F54E4BC; Thu, 22 Dec 2011 00:49:34 -0800 (PST) From: Haojian Zhuang <haojian.zhuang@marvell.com> To: a.zummo@towertech.it, rtc-linux@googlegroups.com, linux-arm-kernel@lists.infradead.org Cc: Kevin Liu <kliu5@marvell.com> Subject: [rtc-linux] [PATCH 1/3] rtc: rtc-max8925: fix max8925_rtc_read_alarm return value error Date: Thu, 22 Dec 2011 16:54:09 +0800 Message-Id: <1324544051-1494-1-git-send-email-haojian.zhuang@marvell.com> X-Mailer: git-send-email 1.7.0.4 X-OriginalArrivalTime: 22 Dec 2011 08:49:34.0350 (UTC) FILETIME=[A0D70AE0:01CCC086] X-Original-Sender: haojian.zhuang@marvell.com X-Original-Authentication-Results: gmr-mx.google.com; spf=temperror (google.com: error in processing during lookup of hzhuang1@marvell.com: DNS timeout) smtp.mail=hzhuang1@marvell.com Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: <rtc-linux.googlegroups.com> X-Google-Group-Id: 712029733259 List-Post: <http://groups.google.com/group/rtc-linux/post?hl=en_US>, <mailto:rtc-linux@googlegroups.com> List-Help: <http://groups.google.com/support/?hl=en_US>, <mailto:rtc-linux+help@googlegroups.com> List-Archive: <http://groups.google.com/group/rtc-linux?hl=en_US> Sender: rtc-linux@googlegroups.com List-Subscribe: <http://groups.google.com/group/rtc-linux/subscribe?hl=en_US>, <mailto:rtc-linux+subscribe@googlegroups.com> List-Unsubscribe: <http://groups.google.com/group/rtc-linux/subscribe?hl=en_US>, <mailto:googlegroups-manage+712029733259+unsubscribe@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 |
Comments
Haojian Zhuang - Dec. 22, 2011, 8:54 a.m.
Patch
diff --git a/drivers/rtc/rtc-max8925.c b/drivers/rtc/rtc-max8925.c index 3bc046f..d93bd40 100644 --- a/drivers/rtc/rtc-max8925.c +++ b/drivers/rtc/rtc-max8925.c @@ -204,6 +204,7 @@ static int max8925_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm) alrm->pending = 1; else alrm->pending = 0; + return 0; out: return ret; }