From: Hiroshi DOYU Date: Mon, 30 Jul 2007 11:04:00 +0000 (+0300) Subject: DSPGW: Remove CONFIG_OMAP_DSP_TASK_MULTIOPEN X-Git-Tag: v2.6.23-omap1~276 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=a5d546c0cdbc4e36cfcf189dc588d2fc8f6d491f;p=linux-2.6-omap-h63xx.git DSPGW: Remove CONFIG_OMAP_DSP_TASK_MULTIOPEN This MULTIOPEN feature should always be enabled. Signed-off-by: Hiroshi DOYU Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/plat-omap/dsp/Kconfig b/arch/arm/plat-omap/dsp/Kconfig index 0d62beee8a3..122164abbf9 100644 --- a/arch/arm/plat-omap/dsp/Kconfig +++ b/arch/arm/plat-omap/dsp/Kconfig @@ -14,13 +14,6 @@ config OMAP_DSP_MBCMD_VERBOSE This enables kernel log output in the Mailbox command exchanges in the DSP Gateway driver. -config OMAP_DSP_TASK_MULTIOPEN - bool "DSP Task Multiopen Capability" - depends on OMAP_DSP - help - This enables DSP tasks to be opened by multiple times at a time. - Otherwise, they can be opened only once at a time. - config OMAP_DSP_FBEXPORT bool "Framebuffer export to DSP" depends on OMAP_DSP && FB diff --git a/arch/arm/plat-omap/dsp/task.c b/arch/arm/plat-omap/dsp/task.c index f2ccbdf8be9..b43f7040992 100644 --- a/arch/arm/plat-omap/dsp/task.c +++ b/arch/arm/plat-omap/dsp/task.c @@ -1453,13 +1453,6 @@ static int dsp_task_open(struct inode *inode, struct file *file) } attached: - /* ATTACHED */ -#ifndef CONFIG_OMAP_DSP_TASK_MULTIOPEN - if (dev->usecount > 0) { - up_write(&dev->state_sem); - return -EBUSY; - } -#endif ret = proc_list_add(&dev->proc_list_lock, &dev->proc_list, current, file); if (ret)