drm/radeon/kms: track audio engine state, do not use not setup timer
authorRafał Miłecki <zajec5@gmail.com>
Sat, 19 Jun 2010 10:24:56 +0000 (12:24 +0200)
committerDave Airlie <airlied@redhat.com>
Mon, 2 Aug 2010 00:00:06 +0000 (10:00 +1000)
commit7eea7e9eea106a9c49cddf780f590dd8161481fa
tree84a31f2fd452ee22ab0cdcbee1c5fb77896408cd
parente7aeeba6a8fb86ac52bcffa0b72942f784f2b37f
drm/radeon/kms: track audio engine state, do not use not setup timer

This is needed to enable audio support on devices using polling. In case user
decides to disable audio (module parameter) we still will try to use timer in
r600_audio_enable_polling. This would lead to BUG in kernel/timer.c.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r600_audio.c
drivers/gpu/drm/radeon/radeon.h