From: Bruce Allan Date: Wed, 6 Mar 2013 09:02:41 +0000 (+0000) Subject: e1000e: fix LED blink logic for designs with LEDs driven by cathode X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~280^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86a80eab8ced2454bae954b681797c692afe2ea2;p=pandora-kernel.git e1000e: fix LED blink logic for designs with LEDs driven by cathode When the LEDs are driven by cathode, the bit logic is reversed. Use the LED Invert bit to invert the logic. Cleanup use of a magic number and change the for loop increment to reduce the number of shifts. Signed-off-by: Bruce Allan Tested-by: Jeff Pieper Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed