Files
linux/drivers
Corentin Labbe 60f7865250 net: mdio-mux: fix unbalanced put_device
mdio_mux_uninit() call put_device (unconditionally) because of
of_mdio_find_bus() in mdio_mux_init.
But of_mdio_find_bus is only called if mux_bus is empty.
If mux_bus is set, mdio_mux_uninit will print a "refcount_t: underflow"
trace.

This patch add a get_device in the other branch of "if (mux_bus)".

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-09-01 10:26:31 -07:00
..
2017-08-09 22:43:50 -07:00
2017-07-24 17:38:21 +02:00
2017-08-22 11:04:51 -07:00
2017-08-21 11:08:03 +02:00
2017-08-03 21:37:30 -07:00
2017-06-03 19:29:26 +09:00
2017-06-03 19:29:26 +09:00