net: xilinx_axi_emac: Use wait_for_bit instead of while loop
authorSiva Durga Prasad Paladugu <sivadur@xilinx.com>
Fri, 6 Jan 2017 10:48:50 +0000 (16:18 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 28 Nov 2017 15:09:27 +0000 (16:09 +0100)
commitd02a0b1fdf6ba3197e0b46f8a8f52e3c5d375506
tree71aceba285efbbb704206e73324c2d20a9637044
parent70c42b4ca4482e1bb8eac7c56c065e6ecbe5f244
net: xilinx_axi_emac: Use wait_for_bit instead of while loop

Use wait_for_bit instead while loop during init

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
drivers/net/xilinx_axi_emac.c