projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49d4910
)
atm/suni.c: call atm_dev_signal_change() when signal changes.
author
Karl Hiramoto
<karl@hiramoto.org>
Thu, 8 Jul 2010 20:55:35 +0000
(20:55 +0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 9 Jul 2010 07:09:23 +0000
(
00:09
-0700)
Propagate changes to upper atm layer.
Signed-off-by: Karl Hiramoto <karl@hiramoto.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/suni.c
patch
|
blob
|
history
diff --git
a/drivers/atm/suni.c
b/drivers/atm/suni.c
index
da4b91f
..
41c56ea
100644
(file)
--- a/
drivers/atm/suni.c
+++ b/
drivers/atm/suni.c
@@
-291,8
+291,9
@@
static int suni_ioctl(struct atm_dev *dev,unsigned int cmd,void __user *arg)
static void poll_los(struct atm_dev *dev)
{
- dev->signal = GET(RSOP_SIS) & SUNI_RSOP_SIS_LOSV ? ATM_PHY_SIG_LOST :
- ATM_PHY_SIG_FOUND;
+ atm_dev_signal_change(dev,
+ GET(RSOP_SIS) & SUNI_RSOP_SIS_LOSV ?
+ ATM_PHY_SIG_LOST : ATM_PHY_SIG_FOUND);
}