Adaptive LED current ripple suppressor