net: davinci_emac: don't teardown inactive rx channel
authorJeroen Hofstee <jeroen@myspectrum.nl>
Sun, 7 Jun 2015 15:30:38 +0000 (17:30 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:40 +0000 (08:17 +0200)
commitc3d17dd8422144d80af8a772a1c7c78740d1e401
tree1d6f3c4c7c4164c6b9f8676ac8e258733bb44967
parent3d3d12d100c277281f16794178dd129b6f3dc745
net: davinci_emac: don't teardown inactive rx channel

Tearing down an unitialized rx channel causes a pending address hole
event to be queued. When booting linux it will report this pending
as something like "Address Hole seen by USB_OTG  at address 57fff584",
since u-boot did not handled this interrupt. Prevent that by not
tearing down the rx channel, when not receiving.

Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
drivers/net/davinci_emac.c