On Thu, 19 Dec 2013 14:29:41 -0200
Paulo Zanoni <przan...@gmail.com> wrote:

> +      * Reset everything, otherwise when suspend/resume gets very fast, we
> +      * delay the resume based on the values that were set when we were still
> +      * suspending.
> +      */
> +     intel_dp->last_power_on = tmp_jiffies - intel_dp->backlight_on_delay;
> +     intel_dp->last_power_cycle = tmp_jiffies -
> +                                  intel_dp->panel_power_cycle_delay;
> +     intel_dp->last_backlight_off = tmp_jiffies -
> +                                    intel_dp->backlight_off_delay;

I'm not clear on this; aren't the _delay fields in ms?  Here you're
subtracting ms units from jiffies units.  Don't you have to convert?
Or did I miss a unit change in an earlier patch?

Thanks,
Jesse
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to