summaryrefslogtreecommitdiffstats
path: root/drivers/staging/dream/qdsp5
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2010-03-13 09:53:25 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-11 11:35:37 -0700
commit2d1cbb77db089df3d70c2f921ea4b3cf8b9695e9 (patch)
tree9c3eab96e727bd2121ee3f0200e4110590900833 /drivers/staging/dream/qdsp5
parent251211c3fa0d218e90f1fb4ce3b475213df467d2 (diff)
downloadop-kernel-dev-2d1cbb77db089df3d70c2f921ea4b3cf8b9695e9.zip
op-kernel-dev-2d1cbb77db089df3d70c2f921ea4b3cf8b9695e9.tar.gz
Staging: dream: remove last bits of earlysuspend support
Remove last bits of earlysuspend support. Signed-off-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/dream/qdsp5')
-rw-r--r--drivers/staging/dream/qdsp5/audio_out.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/dream/qdsp5/audio_out.c b/drivers/staging/dream/qdsp5/audio_out.c
index fe7809d..76d7fa5 100644
--- a/drivers/staging/dream/qdsp5/audio_out.c
+++ b/drivers/staging/dream/qdsp5/audio_out.c
@@ -182,9 +182,6 @@ struct audio {
int stopped; /* set when stopped, cleared on flush */
unsigned volume;
- struct wake_lock wakelock;
- struct wake_lock idlelock;
-
int adrc_enable;
struct adrc_filter adrc;
@@ -198,14 +195,10 @@ struct audio {
static void audio_prevent_sleep(struct audio *audio)
{
printk(KERN_INFO "++++++++++++++++++++++++++++++\n");
- wake_lock(&audio->wakelock);
- wake_lock(&audio->idlelock);
}
static void audio_allow_sleep(struct audio *audio)
{
- wake_unlock(&audio->wakelock);
- wake_unlock(&audio->idlelock);
printk(KERN_INFO "------------------------------\n");
}
@@ -840,8 +833,6 @@ static int __init audio_init(void)
mutex_init(&the_audio.write_lock);
spin_lock_init(&the_audio.dsp_lock);
init_waitqueue_head(&the_audio.wait);
- wake_lock_init(&the_audio.wakelock, WAKE_LOCK_SUSPEND, "audio_pcm");
- wake_lock_init(&the_audio.idlelock, WAKE_LOCK_IDLE, "audio_pcm_idle");
return (misc_register(&audio_misc) || misc_register(&audpp_misc));
}
OpenPOWER on IntegriCloud