projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'libata-5.6-2020-02-05' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git]
/
drivers
/
rtc
/
rtc-tps6586x.c
diff --git
a/drivers/rtc/rtc-tps6586x.c
b/drivers/rtc/rtc-tps6586x.c
index
859d901
..
e39af2d
100644
(file)
--- a/
drivers/rtc/rtc-tps6586x.c
+++ b/
drivers/rtc/rtc-tps6586x.c
@@
-23,6
+23,7
@@
#include <linux/device.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/init.h>
+#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/mfd/tps6586x.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/mfd/tps6586x.h>
#include <linux/module.h>
@@
-267,6
+268,8
@@
static int tps6586x_rtc_probe(struct platform_device *pdev)
rtc->rtc->start_secs = mktime64(2009, 1, 1, 0, 0, 0);
rtc->rtc->set_start_time = true;
rtc->rtc->start_secs = mktime64(2009, 1, 1, 0, 0, 0);
rtc->rtc->set_start_time = true;
+ irq_set_status_flags(rtc->irq, IRQ_NOAUTOEN);
+
ret = devm_request_threaded_irq(&pdev->dev, rtc->irq, NULL,
tps6586x_rtc_irq,
IRQF_ONESHOT,
ret = devm_request_threaded_irq(&pdev->dev, rtc->irq, NULL,
tps6586x_rtc_irq,
IRQF_ONESHOT,
@@
-276,7
+279,6
@@
static int tps6586x_rtc_probe(struct platform_device *pdev)
rtc->irq, ret);
goto fail_rtc_register;
}
rtc->irq, ret);
goto fail_rtc_register;
}
- disable_irq(rtc->irq);
ret = rtc_register_device(rtc->rtc);
if (ret)
ret = rtc_register_device(rtc->rtc);
if (ret)