Skip to contentSkip to conversation

drivers-rtc-rtc-at91rm9200c-correct-alarm-over-day-month-wrap.patch removed from -mm tree

merged [email protected] 1 participant 1 message Dec 16, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Subject: [merged] drivers-rtc-rtc-at91rm9200c-correct-alarm-over-day-month-wrap.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 16 Dec 2013 12:39:26 -0800

The patch titled
Subject: drivers/rtc/rtc-at91rm9200.c: correct alarm over day/month wrap
has been removed from the -mm tree. Its filename was
drivers-rtc-rtc-at91rm9200c-correct-alarm-over-day-month-wrap.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Linus Pizunski <[email protected]>
Subject: drivers/rtc/rtc-at91rm9200.c: correct alarm over day/month wrap

Update month and day of month to the alarm month/day instead of current day/month when setting the RTC alarm mask.

---

 drivers/rtc/rtc-at91rm9200.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/rtc/rtc-at91rm9200.c renamed from drivers/rtc/rtc-at91rm9200.c~drivers-rtc-rtc-at91rm9200c-correct-alarm-over-day-month-wrap +2 -0
diff -puN drivers/rtc/rtc-at91rm9200.c~drivers-rtc-rtc-at91rm9200c-correct-alarm-over-day-month-wrap drivers/rtc/rtc-at91rm9200.c
@@ -220,6 +220,8 @@ static int at91_rtc_setalarm(struct devi
 
 	at91_alarm_year = tm.tm_year;
 
+	tm.tm_mon = alrm->time.tm_mon;
+	tm.tm_mday = alrm->time.tm_mday;
 	tm.tm_hour = alrm->time.tm_hour;
 	tm.tm_min = alrm->time.tm_min;
 	tm.tm_sec = alrm->time.tm_sec;

_

Patches currently in -mm which might be from [email protected] are