projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0285e7c
)
net/can/mscan: drop support for CAN_MODE_{SLEEP|STOP}
author
Wolfram Sang
<w.sang@pengutronix.de>
Mon, 16 Nov 2009 12:57:46 +0000
(12:57 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 17 Nov 2009 11:54:00 +0000
(
03:54
-0800)
The upper layer does not support it yet.
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/mscan/mscan.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/can/mscan/mscan.c
b/drivers/net/can/mscan/mscan.c
index 6394de840427a4b03b46dce5d0fb0786c8cf15e1..839b471cdf5d9594caa7087b49b0f6c213bb7695 100644
(file)
--- a/
drivers/net/can/mscan/mscan.c
+++ b/
drivers/net/can/mscan/mscan.c
@@
-487,14
+487,6
@@
static int mscan_do_set_mode(struct net_device *dev, enum can_mode mode)
return -EINVAL;
switch (mode) {
- case CAN_MODE_SLEEP:
- case CAN_MODE_STOP:
- netif_stop_queue(dev);
- mscan_set_mode(dev,
- (mode ==
- CAN_MODE_STOP) ? MSCAN_INIT_MODE :
- MSCAN_SLEEP_MODE);
- break;
case CAN_MODE_START:
if (priv->can.state <= CAN_STATE_BUS_OFF)
mscan_set_mode(dev, MSCAN_INIT_MODE);