diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2017-05-11 07:19:48 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-25 13:44:36 (GMT) |
commit | b77adf29b85687fd593d4dc294fb5cb946b3c0e2 (patch) | |
tree | a1a8af816b67b34bf99ba79f9e747df131d1f258 /drivers/gpio | |
parent | 1ec3c712e231468ac1b1024b9747882c444d4b19 (diff) | |
download | linux-b77adf29b85687fd593d4dc294fb5cb946b3c0e2.tar.xz |
drm/nouveau/tmr: handle races with hw when updating the next alarm time
commit 1b0f84380b10ee97f7d2dd191294de9017e94d1d upstream.
If the time to the next alarm is short enough, we could race with HW and
end up with an ~4 second delay until it triggers.
Fix this by checking again after we update HW.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions