summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-r9701.c
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2010-01-15 14:44:38 +0100
committerDave Airlie <airlied@linux.ie>2010-01-21 08:43:56 +1000
commit79c2bbc505751bb5130ac753251fc9a0eb37bb12 (patch)
tree1249938228d4630b9eeabf0d0619034c9666a3af /drivers/rtc/rtc-r9701.c
parent0c45249f419d8b86abe0e51c6627ca4b085e8c23 (diff)
downloadblackbird-op-linux-79c2bbc505751bb5130ac753251fc9a0eb37bb12.tar.gz
blackbird-op-linux-79c2bbc505751bb5130ac753251fc9a0eb37bb12.zip
drm/radeon/kms: r600/r700 don't process IRQ if not initialized
In some rare case the wptr returned from the hw wasn't 0 and leaded to trick r600_process_irq that their were irq to process. Add a check to bail out if irq hasn't been initialized this will avoid oops provoqued by the rare wptr != 0 on initialization. Signed-off-by: Jerome Glisse <jglisse@redhat.com> Reviewed-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/rtc/rtc-r9701.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud