summaryrefslogtreecommitdiff
path: root/drivers/pci/xen-pcifront.c
diff options
context:
space:
mode:
authorMartin Peres <martin.peres@labri.fr>2013-08-12 02:48:50 (GMT)
committerBen Skeggs <bskeggs@redhat.com>2013-09-04 03:46:42 (GMT)
commit7fabd25393c7b5cb749d358772ccea2a570f4b49 (patch)
tree77ef02640979f17f8375e7886889f6f4f8bf0761 /drivers/pci/xen-pcifront.c
parent4cc00ad1373674cdd1bce387bd1d4e3f5c42a99c (diff)
downloadlinux-fsl-qoriq-7fabd25393c7b5cb749d358772ccea2a570f4b49.tar.xz
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 'drivers/pci/xen-pcifront.c')
0 files changed, 0 insertions, 0 deletions