drivers: macintosh: rack-meter: limit idle ticks to total ticks
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sun, 10 Apr 2016 19:53:47 +0000 (22:53 +0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 12 Apr 2016 11:05:20 +0000 (21:05 +1000)
commitc796d1d97c3035cf54d4d5a9e75abd094db80e76
treed20729e4de03e9b5826a53cd5e357c24b88863d7
parent7f92bc5694557dee4cefa90df27feec16c7b62da
drivers: macintosh: rack-meter: limit idle ticks to total ticks

Limit idle ticks to total ticks. This prevents the annoying rackmeter
leds fully ON / OFF blinking state that happens on fully idling
G5 Xserve systems.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/macintosh/rack-meter.c