net/macb: make clk_enable atomic
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>
Wed, 27 Mar 2013 23:07:07 +0000 (23:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Mar 2013 18:41:19 +0000 (14:41 -0400)
commitace58010c458e54865d39bc522d0d84dadba2182
treed447814a0d2508f2acfcec20cec43e0dd5c07efc
parenta1ae385df210a9fe272b87683192f2789ddf144e
net/macb: make clk_enable atomic

Use clk_prepare_enable/clk_disable_unprepare to be safe on SMP systems.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Fabio Estevam <festevam@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c