staging: et131x: Only configure regs if link state changes
authorMark Einon <mark.einon@gmail.com>
Sun, 13 Jan 2013 20:31:16 +0000 (20:31 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 21:52:37 +0000 (13:52 -0800)
commit6903098c169026f134455f4c41dd834f085e842d
tree27fc30060d1f892435aad2bdcacaa519e79ca0bd
parented73591a5c2ea4a77e89a2ef303a92e2e5c517da
staging: et131x: Only configure regs if link state changes

Some config regs get set whenever adjust_link() is called. Change this
so that these registers only get set when the link state changes to UP.

Also remove unnecessary second assignment of boot_coma.

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/et131x/et131x.c
This page took 0.026647 seconds and 5 git commands to generate.