Revert "[ARM] mfd: tegra-cpcap-audio: workaround for audio wakelock preventing LP0"
authorIliyan Malchev <malchev@google.com>
Wed, 13 Oct 2010 20:02:36 +0000 (13:02 -0700)
committerIliyan Malchev <malchev@google.com>
Fri, 15 Oct 2010 20:39:59 +0000 (13:39 -0700)
This reverts commit f922d75a29624dc250a74d90f8c8e9e7c1f8988d.

drivers/mfd/tegra-cpcap-audio.c

index 4f47840f1dee3fb9994c7d340f43549a3de6e2cd..ba150ad40131bb6f9c981c92b95e5fe8ab070079 100644 (file)
@@ -30,7 +30,6 @@
 #include <linux/miscdevice.h>
 #include <linux/cpcap_audio.h>
 #include <linux/uaccess.h>
-#include <linux/delay.h>
 
 #include <mach/cpcap_audio.h>
 
@@ -260,8 +259,6 @@ static long cpcap_audio_ctl_ioctl(struct file *file, unsigned int cmd,
                        current_output.on = !out.on;
                        if (out.on) {
                                pr_info("%s: standby mode\n", __func__);
-                               /* HACK: Give output audio FIFO time to empty */
-                               msleep(100);
                                tegra_setup_audio_output_off();
                                break;
                        }