driver/ldpaa_eth:Avoid infinite loop in ldpaa_eth_rx
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Thu, 2 Jul 2015 05:59:08 +0000 (11:29 +0530)
committerYork Sun <yorksun@freescale.com>
Mon, 20 Jul 2015 18:44:37 +0000 (11:44 -0700)
commit56c57cf7e9bc760d6d02b50f8d0b384fbb58d0fb
treef2cacc65f7a7f8f2c8343617cf9922554c51fe02
parent0c7c87a4ac3bb532f785fb6a19f68dcc2a588d1c
driver/ldpaa_eth:Avoid infinite loop in ldpaa_eth_rx

Change infinite loop mechanism to timer based polling for QBMAN release in
ldpaa_eth_rx.

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/net/ldpaa_eth/ldpaa_eth.c