aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/lantiq/ltq-adsl-mei
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-02-09 12:12:52 +0000
committerJohn Crispin <john@openwrt.org>2015-02-09 12:12:52 +0000
commit64f9626963cf3abf7550df706e42973f4c0221f4 (patch)
tree16639bc24915050fc771a93be3284b10f0796cae /package/kernel/lantiq/ltq-adsl-mei
parent682cf3b8545bf9221530a43930bf9a181796bf0a (diff)
downloadupstream-64f9626963cf3abf7550df706e42973f4c0221f4.tar.gz
upstream-64f9626963cf3abf7550df706e42973f4c0221f4.tar.bz2
upstream-64f9626963cf3abf7550df706e42973f4c0221f4.zip
lantiq: fix dsl drivers for 3.18
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44346
Diffstat (limited to 'package/kernel/lantiq/ltq-adsl-mei')
-rw-r--r--package/kernel/lantiq/ltq-adsl-mei/src/ifxmips_mei_interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/lantiq/ltq-adsl-mei/src/ifxmips_mei_interface.h b/package/kernel/lantiq/ltq-adsl-mei/src/ifxmips_mei_interface.h
index 4ddc4c6aed..c58732498a 100644
--- a/package/kernel/lantiq/ltq-adsl-mei/src/ifxmips_mei_interface.h
+++ b/package/kernel/lantiq/ltq-adsl-mei/src/ifxmips_mei_interface.h
@@ -109,7 +109,7 @@ typedef enum {
/* wait for an event, timeout is measured in ms */
#define MEI_WAIT_EVENT_TIMEOUT(ev,timeout)\
- interruptible_sleep_on_timeout(&ev,timeout * HZ / 1000)
+ wait_event_interruptible_timeout(ev,0 == 1, timeout * HZ / 1000)
#define MEI_WAKEUP_EVENT(ev)\
wake_up_interruptible(&ev)
#endif /* IFX_MEI_BSP */