summaryrefslogtreecommitdiffstats
path: root/lib/raid6
diff options
context:
space:
mode:
authorMartin Peres <martin.peres@labri.fr>2013-08-11 22:48:50 -0400
committerBen Skeggs <bskeggs@redhat.com>2013-09-04 13:46:42 +1000
commit7fabd25393c7b5cb749d358772ccea2a570f4b49 (patch)
tree77ef02640979f17f8375e7886889f6f4f8bf0761 /lib/raid6
parent4cc00ad1373674cdd1bce387bd1d4e3f5c42a99c (diff)
downloadlinux-7fabd25393c7b5cb749d358772ccea2a570f4b49.tar.bz2
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 <martin.peres@labri.fr> Tested-by: Martin Peres <martin.peres@labri.fr> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'lib/raid6')
0 files changed, 0 insertions, 0 deletions