projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] pcmcia: add another orinoco_cs id
[powerpc.git]
/
drivers
/
net
/
irda
/
stir4200.c
diff --git
a/drivers/net/irda/stir4200.c
b/drivers/net/irda/stir4200.c
index
66f488c
..
15f2073
100644
(file)
--- a/
drivers/net/irda/stir4200.c
+++ b/
drivers/net/irda/stir4200.c
@@
-763,7
+763,7
@@
static int stir_transmit_thread(void *arg)
{
#ifdef CONFIG_PM
/* if suspending, then power off and wait */
{
#ifdef CONFIG_PM
/* if suspending, then power off and wait */
- if (unlikely(
current->flags & PF_FREEZE
)) {
+ if (unlikely(
freezing(current)
)) {
if (stir->receiving)
receive_stop(stir);
else
if (stir->receiving)
receive_stop(stir);
else
@@
-771,7
+771,7
@@
static int stir_transmit_thread(void *arg)
write_reg(stir, REG_CTRL1, CTRL1_TXPWD|CTRL1_RXPWD);
write_reg(stir, REG_CTRL1, CTRL1_TXPWD|CTRL1_RXPWD);
- refrigerator(
PF_FREEZE
);
+ refrigerator();
if (change_speed(stir, stir->speed))
break;
if (change_speed(stir, stir->speed))
break;