summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTroy Kisky <troy.kisky@boundarydevices.com>2013-12-05 11:20:43 -0700
committerTroy Kisky <troy.kisky@boundarydevices.com>2013-12-09 20:34:09 -0700
commit22bf3ce6156c0c5f35b3d00d0e9040fed2a0a6a6 (patch)
tree4c1187f21a08ff9687c1f623f9a67b99efbce53c /drivers
parentcb0e0c93bf7bb6618a0a2728ddf3e48c9c2b5e7b (diff)
rtc-isl1208: add IRQF_ONESHOT
Diffstat (limited to 'drivers')
-rw-r--r--drivers/rtc/rtc-isl1208.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-isl1208.c b/drivers/rtc/rtc-isl1208.c
index 4b2788ce7f5c..7137b55b9367 100644
--- a/drivers/rtc/rtc-isl1208.c
+++ b/drivers/rtc/rtc-isl1208.c
@@ -118,7 +118,7 @@ isl1208_i2c_set_regs(struct i2c_client *client, u8 reg, u8 const buf[],
return ret;
}
-/* simple check to see wether we have a isl1208 */
+/* simple check to see whether we have a isl1208 */
static int
isl1208_i2c_validate_client(struct i2c_client *client)
{
@@ -659,7 +659,7 @@ isl1208_probe(struct i2c_client *client, const struct i2c_device_id *id)
if (client->irq > 0) {
rc = request_threaded_irq(client->irq, NULL,
isl1208_rtc_interrupt,
- IRQF_SHARED | IRQF_TRIGGER_FALLING,
+ IRQF_SHARED | IRQF_ONESHOT | IRQF_TRIGGER_FALLING,
isl1208_driver.driver.name, client);
if (!rc) {
device_init_wakeup(&client->dev, 1);