Commit c7e91f7c authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

rtc: pcf2123: set RTC_FEATURE_ALARM_RES_MINUTE

parent fff36f79
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -427,6 +427,7 @@ static int pcf2123_probe(struct spi_device *spi)
	 * support to this driver to generate interrupts more than once
	 * per minute.
	 */
	set_bit(RTC_FEATURE_ALARM_RES_MINUTE, rtc->features);
	clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, rtc->features);
	rtc->ops = &pcf2123_rtc_ops;
	rtc->range_min = RTC_TIMESTAMP_BEGIN_2000;