net/ixgbe/base: clear page register in error path
authorXiao Wang <xiao.w.wang@intel.com>
Sun, 25 Sep 2016 08:59:49 +0000 (16:59 +0800)
committerBruce Richardson <bruce.richardson@intel.com>
Fri, 30 Sep 2016 10:27:18 +0000 (12:27 +0200)
commit92d4079a8c00c00cacdc23143c0bce45e8f68cb1
tree0042ec780a778461d3055ac643306293e95b5240
parentd60a2d3a106752747f352ea0e819f171f009c617
net/ixgbe/base: clear page register in error path

The error exit should at least try to set the page register to 0
since other code will assume that state.

Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ixgbe/base/ixgbe_x550.c