2014-10-01 20:31:08

by Michael Opdenacker

[permalink] [raw]
Subject: [PATCH] HSI: remove deprecated IRQF_DISABLED

Remove the use of the IRQF_DISABLED flag
from drivers/hsi/clients/nokia-modem.c

It's a NOOP since 2.6.35 and it will be removed soon.

Signed-off-by: Michael Opdenacker <[email protected]>
---
drivers/hsi/clients/nokia-modem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hsi/clients/nokia-modem.c b/drivers/hsi/clients/nokia-modem.c
index 363b780dacea..e43c3c9acec1 100644
--- a/drivers/hsi/clients/nokia-modem.c
+++ b/drivers/hsi/clients/nokia-modem.c
@@ -174,7 +174,7 @@ static int nokia_modem_probe(struct device *dev)
tasklet_init(&modem->nokia_modem_rst_ind_tasklet,
do_nokia_modem_rst_ind_tasklet, (unsigned long)modem);
err = devm_request_irq(dev, irq, nokia_modem_rst_ind_isr,
- IRQF_DISABLED | pflags, "modem_rst_ind", modem);
+ pflags, "modem_rst_ind", modem);
if (err < 0) {
dev_err(dev, "Request rst_ind irq(%d) failed (flags %d)\n",
irq, pflags);
--
1.9.1


2014-10-01 21:31:53

by Pavel Machek

[permalink] [raw]
Subject: Re: [PATCH] HSI: remove deprecated IRQF_DISABLED

On Wed 2014-10-01 22:28:55, Michael Opdenacker wrote:
> Remove the use of the IRQF_DISABLED flag
> from drivers/hsi/clients/nokia-modem.c
>
> It's a NOOP since 2.6.35 and it will be removed soon.
>
> Signed-off-by: Michael Opdenacker <[email protected]>

Acked-by: Pavel Machek <[email protected]>



> --- a/drivers/hsi/clients/nokia-modem.c
> +++ b/drivers/hsi/clients/nokia-modem.c
> @@ -174,7 +174,7 @@ static int nokia_modem_probe(struct device *dev)
> tasklet_init(&modem->nokia_modem_rst_ind_tasklet,
> do_nokia_modem_rst_ind_tasklet, (unsigned long)modem);
> err = devm_request_irq(dev, irq, nokia_modem_rst_ind_isr,
> - IRQF_DISABLED | pflags, "modem_rst_ind", modem);
> + pflags, "modem_rst_ind", modem);
> if (err < 0) {
> dev_err(dev, "Request rst_ind irq(%d) failed (flags %d)\n",
> irq, pflags);

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

2014-10-02 20:19:33

by Michael Opdenacker

[permalink] [raw]
Subject: Re: [PATCH] HSI: remove deprecated IRQF_DISABLED

On 09/12/2014 04:40 PM, Pavel Machek wrote:
> On Wed 2014-10-01 22:28:55, Michael Opdenacker wrote:
>> Remove the use of the IRQF_DISABLED flag
>> from drivers/hsi/clients/nokia-modem.c
>>
>> It's a NOOP since 2.6.35 and it will be removed soon.
>>
>> Signed-off-by: Michael Opdenacker <[email protected]>
> Acked-by: Pavel Machek <[email protected]>

Thanks! Wow, you have a nice system date, writing from the past (Sep. 12).

Mike.


--
Michael Opdenacker, CEO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
+33 484 258 098

2014-10-02 21:14:04

by Pavel Machek

[permalink] [raw]
Subject: Re: [PATCH] HSI: remove deprecated IRQF_DISABLED

On Thu 2014-10-02 22:19:28, Michael Opdenacker wrote:
> On 09/12/2014 04:40 PM, Pavel Machek wrote:
> > On Wed 2014-10-01 22:28:55, Michael Opdenacker wrote:
> >> Remove the use of the IRQF_DISABLED flag
> >> from drivers/hsi/clients/nokia-modem.c
> >>
> >> It's a NOOP since 2.6.35 and it will be removed soon.
> >>
> >> Signed-off-by: Michael Opdenacker <[email protected]>
> > Acked-by: Pavel Machek <[email protected]>
>
> Thanks! Wow, you have a nice system date, writing from the past (Sep. 12).

My TARDIS is better and better. Normally, I write from 1970 :-).

Why do all the great machines lack working RTC? Spitz, n900,
OLPC-1.75...

Pavel

#!/bin/bash
F=/etc/zaurus.time
if [ $(date +%s) -lt $(< $F) ];
then
date -s @$(< $F)
fi
date +%s > $F

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

2014-10-03 02:23:45

by Sebastian Reichel

[permalink] [raw]
Subject: Re: [PATCH] HSI: remove deprecated IRQF_DISABLED

Hi,

On Wed, Oct 01, 2014 at 10:28:55PM +0200, Michael Opdenacker wrote:
> Remove the use of the IRQF_DISABLED flag
> from drivers/hsi/clients/nokia-modem.c
>
> It's a NOOP since 2.6.35 and it will be removed soon.
>
> Signed-off-by: Michael Opdenacker <[email protected]>

https://git.kernel.org/cgit/linux/kernel/git/sre/linux-hsi.git/commit/?h=for-next&id=a26a42508157bc9fda89e3b1d64e47b9e4b55c30

-- Sebastian


Attachments:
(No filename) (436.00 B)
signature.asc (819.00 B)
Digital signature
Download all attachments