aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
diff options
context:
space:
mode:
authorSimon Guinot <[email protected]>2015-11-26 14:37:13 +0000
committerAlexandre Belloni <[email protected]>2015-11-26 17:11:26 +0000
commit3abb1ada21a4fb5b2920457a2e5c8483abb09a45 (patch)
tree88ead2d36f6031a3252bc5f291b738735464f336 /drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
parentrtc: ds1307: fix kernel splat due to wakeup irq handling (diff)
downloadkernel-3abb1ada21a4fb5b2920457a2e5c8483abb09a45.tar.gz
kernel-3abb1ada21a4fb5b2920457a2e5c8483abb09a45.zip
rtc: ds1307: fix alarm reading at probe time
With the actual code, read_alarm() always returns -EINVAL when called during the RTC device registration. This prevents from retrieving an already configured alarm in hardware. This patch fixes the issue by moving the HAS_ALARM bit configuration (if supported by the hardware) above the rtc_device_register() call. Signed-off-by: Simon Guinot <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c')
0 files changed, 0 insertions, 0 deletions