]> git.karo-electronics.de Git - linux-beck.git/commit
net: ethernet: ti: cpts: disable cpts when unregistered
authorGrygorii Strashko <grygorii.strashko@ti.com>
Wed, 7 Dec 2016 00:00:38 +0000 (18:00 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Dec 2016 16:13:47 +0000 (11:13 -0500)
commit8fcd68914e447af006f9597a2688754517fabfe9
tree6df7f840e51d7db7e4c1af2413cc7a3ebd28ee85
parent6c691405bcaf8f1a7413416cc757756cfb060875
net: ethernet: ti: cpts: disable cpts when unregistered

The cpts now is left enabled after unregistration.
Hence, disable it in cpts_unregister().

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpts.c