Skip to contentSkip to conversation

RTC: Fix return code in MC13783 RTC driver.

PATCH New Magnus Lilja 2 participants 2 messages Nov 11, 2009 – Dec 2, 2009 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 RTC: Fix return code in MC13783 RTC driver.

---
 drivers/rtc/mc13783-rtc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/rtc/mc13783-rtc.c +1 -1
index 05db2f1..416f50d 100644
@@ -109,7 +109,7 @@ int rtc_set(struct rtc_time *rtc)
 
 	spi_release_bus(slave);
 
-	return -1;
+	return 0;
 }
 
 void rtc_reset(void)
Signature · 1 line
1.5.6
#1 lore raw

PATCH v2 1/1 RTC: Fix return code in MC13783 RTC driver.

Dear Magnus Lilja,

Quoted 4 lines · In message <[email protected]> you wrote:
---
 drivers/rtc/mc13783-rtc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Advice is seldom welcome; and those who want it the most always like
it the least.                         -- Philip Earl of Chesterfield