net: asix: split out basic reset function
authorLucas Stach <dev@lynxeye.de>
Wed, 22 Aug 2012 11:04:58 +0000 (11:04 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 26 Sep 2012 17:36:30 +0000 (12:36 -0500)
commit5fae53d0f1554d35f159a386cd16edf94838279d
tree24963814e6252082b3c570850ee6bc9c27208aed
parente1dbdf9109a2739862ccd3c39be0b8ee37721cb6
net: asix: split out basic reset function

The basic device reset ensures that the device is ready to
service commands and does not need to get redone before each
network operation.

Split out the basic reset from asix_init() and instead call it
from asix_eth_get_info(), so that it only gets called once.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/usb/eth/asix.c