aboutsummaryrefslogtreecommitdiff
path: root/lib/net_utils.c
diff options
context:
space:
mode:
authorMartin Peres <[email protected]>2013-08-11 22:48:50 -0400
committerBen Skeggs <[email protected]>2013-09-04 13:46:42 +1000
commit7fabd25393c7b5cb749d358772ccea2a570f4b49 (patch)
tree77ef02640979f17f8375e7886889f6f4f8bf0761 /lib/net_utils.c
parent4cc00ad1373674cdd1bce387bd1d4e3f5c42a99c (diff)
drm/nouveau/timer: restore the time on resume
This can be useful if some parts of Nouveau try to calculate the time between two events. Without this patch, the time difference would be negative in the case where the computer is suspended/resumed between two events. This patch should fix fan speed probing when done while suspending/resuming. Solve this by saving the current time before suspending and by restoring it on resume. Signed-off-by: Martin Peres <[email protected]> Tested-by: Martin Peres <[email protected]> Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions