From 9b3391d3cde5ee491234af75c434bd5640210c5f Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Sun, 26 Jun 2011 02:47:41 +0000 Subject: [PATCH] [armhf] rtc-twl: Switch to using threaded irq svn path=/dists/sid/linux-2.6/; revision=17729 --- debian/changelog | 1 + ...rtc-twl-Switch-to-using-threaded_irq.patch | 29 +++++++++++++++++++ debian/patches/series/3 | 1 + 3 files changed, 31 insertions(+) create mode 100644 debian/patches/bugfix/arm/rtc-twl-Switch-to-using-threaded_irq.patch diff --git a/debian/changelog b/debian/changelog index 0deb2e684..b004bb3cb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,7 @@ linux-2.6 (2.6.39-3) UNRELEASED; urgency=low * linux-source-: Suggest libqt4-dev (for 'make xconfig') instead of libqt3-mt-dev (Closes: #631666) * [armhf] Add omap flavour, thanks to Sebastian Reichel + * [armhf] rtc-twl: Switch to using threaded irq [ maximilian attems ] * Add stable 2.6.39.2, including: diff --git a/debian/patches/bugfix/arm/rtc-twl-Switch-to-using-threaded_irq.patch b/debian/patches/bugfix/arm/rtc-twl-Switch-to-using-threaded_irq.patch new file mode 100644 index 000000000..3f1b404e5 --- /dev/null +++ b/debian/patches/bugfix/arm/rtc-twl-Switch-to-using-threaded_irq.patch @@ -0,0 +1,29 @@ +From: Ilkka Koskinen +Subject: [PATCH] rtc-twl: Switch to using threaded irq +Date: Wed, 16 Mar 2011 18:07:14 +0200 + +The driver is accessing to i2c bus in interrupt handler. +Therefore, it should use threaded irq. + +Signed-off-by: Ilkka Koskinen +Acked-by: Balaji T K +--- + drivers/rtc/rtc-twl.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/drivers/rtc/rtc-twl.c b/drivers/rtc/rtc-twl.c +index ed1b868..2715b96 100644 +--- a/drivers/rtc/rtc-twl.c ++++ b/drivers/rtc/rtc-twl.c +@@ -475,7 +475,7 @@ static int __devinit twl_rtc_probe(struct platform_device *pdev) + if (ret < 0) + goto out1; + +- ret = request_irq(irq, twl_rtc_interrupt, ++ ret = request_threaded_irq(irq, NULL, twl_rtc_interrupt, + IRQF_TRIGGER_RISING, + dev_name(&rtc->dev), rtc); + if (ret < 0) { +-- +1.7.0.4 + diff --git a/debian/patches/series/3 b/debian/patches/series/3 index 6af0ec76b..775d99b6c 100644 --- a/debian/patches/series/3 +++ b/debian/patches/series/3 @@ -1,2 +1,3 @@ + bugfix/x86/Revert-drm-i915-Enable-GMBUS-for-post-gen2-chipsets.patch + bugfix/all/stable/2.6.39.2 ++ bugfix/arm/rtc-twl-Switch-to-using-threaded_irq.patch