forked from Minki/linux
sh: mach-ecovec24: Add i2c_put_adapter on sh_eth_init
i2c_put_adapter is needed after i2c_get_adapter Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
ae6be51ed0
commit
b230eb32c8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user