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)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 11 Aug 2015 18:35:45 +0000 (13:35 -0500)
commit0b830198fb3c6ee0dbbe5aa98829eddbb27429b1
tree53e3636d23415dfd109ecb580bce53bb69cdbb3c
parent8396d0ab8b46907bd89e9f3a35fbb727f077d28a
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