projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae6be51
)
sh: mach-ecovec24: Add i2c_put_adapter on sh_eth_init
author
Kuninori Morimoto
<
[email protected]
>
Tue, 16 Mar 2010 02:01:33 +0000
(
02:01
+0000)
committer
Paul Mundt
<
[email protected]
>
Tue, 23 Mar 2010 04:19:31 +0000
(13:19 +0900)
i2c_put_adapter is needed after i2c_get_adapter
Signed-off-by: Kuninori Morimoto <
[email protected]
>
Signed-off-by: Paul Mundt <
[email protected]
>
arch/sh/boards/mach-ecovec24/setup.c
patch
|
blob
|
history
diff --git
a/arch/sh/boards/mach-ecovec24/setup.c
b/arch/sh/boards/mach-ecovec24/setup.c
index 39ed8722d11ad0b12469e6d17d4a98b671328634..6c13b92742e8de0d6410fbf0e3fc9553852d5e75 100644
(file)
--- a/
arch/sh/boards/mach-ecovec24/setup.c
+++ b/
arch/sh/boards/mach-ecovec24/setup.c
@@
-836,6
+836,8
@@
static void __init sh_eth_init(struct sh_eth_plat_data *pd)
pd->mac_addr[i] = mac_read(a, 0x10 + i);
msleep(10);
}
+
+ i2c_put_adapter(a);
}
#else
static void __init sh_eth_init(struct sh_eth_plat_data *pd)