[RFC][PATCH v1 19/19] DSPBRIDGE: Cleanup custom error code (WMD_E_TIMEOUT -> -ETIMEDOUT)

2010-03-26 Thread Hebbar, Shivananda
>From 2c3007b76da6145b165510bfa9c27f4f98209059 Mon Sep 17 00:00:00 2001 From: Shivananda Hebbar Date: Wed, 24 Mar 2010 13:12:12 -0600 Subject: [PATCH] DSPBRIDGE: Cleanup custom error code (WMD_E_TIMEOUT -> -ETIMEDOUT) This patch replaces WMD_E_TIMEOUT with -ETIMEDOUT. Signed-off-by: Shivananda

[RFC][PATCH v1 18/19] DSPBRIDGE: Cleanup custom error code (CHNL_E_CANCELLED -> -ECANCELED)

2010-03-26 Thread Hebbar, Shivananda
>From ce0e8ff1367c7de7e958bbef03298bbe75715874 Mon Sep 17 00:00:00 2001 From: Shivananda Hebbar Date: Wed, 24 Mar 2010 13:05:18 -0600 Subject: [PATCH] DSPBRIDGE: Cleanup custom error code (CHNL_E_CANCELLED -> -ECANCELED) This patch replaces CHNL_E_CANCELLED with -ECANCELED. Signed-off-by: Shiva

[RFC][PATCH v1 17/19] DSPBRIDGE: Cleanup custom error code (CHNL_E_CHANBUSY -> -EALREADY)

2010-03-26 Thread Hebbar, Shivananda
>From 98871a2583479220d285a9115043debc4e4e8369 Mon Sep 17 00:00:00 2001 From: Shivananda Hebbar Date: Wed, 24 Mar 2010 13:00:15 -0600 Subject: [PATCH] DSPBRIDGE: Cleanup custom error code (CHNL_E_CHANBUSY -> -EALREADY) This patch replaces CHNL_E_CHANBUSY with -EALREADY. Signed-off-by: Shivanand

[RFC][PATCH v1 15/19] DSPBRIDGE: Cleanup custom error code (DSP_EUUID -> -ENOKEY)

2010-03-26 Thread Hebbar, Shivananda
>From 67e5343bec9a3f262a02b65fa92c98a1170100f2 Mon Sep 17 00:00:00 2001 From: Shivananda Hebbar Date: Wed, 24 Mar 2010 12:47:45 -0600 Subject: [PATCH] DSPBRIDGE: Cleanup custom error code (DSP_EUUID -> -ENOKEY) This patch replaces DSP_EUUID with -ENOKEY. Signed-off-by: Shivananda Hebbar --- ar

[RFC][PATCH v1 16/19] DSPBRIDGE: Cleanup custom error code (DSP_ENOTCONNECTED -> ENOTCONN)

2010-03-26 Thread Hebbar, Shivananda
>From 350cddf447f12ce5123cb5d14260c61593132a53 Mon Sep 17 00:00:00 2001 From: Shivananda Hebbar Date: Wed, 24 Mar 2010 12:53:06 -0600 Subject: [PATCH] DSPBRIDGE: Cleanup custom error code (DSP_ENOTCONNECTED -> ENOTCONN) This patch replaces DSP_ENOTCONNECTED with -ENOTCONN. Signed-off-by: Shivan

[RFC][PATCH v1 14/19] DSPBRIDGE: Cleanup custom error code (DSP_EVALUE -> -EINVAL)

2010-03-26 Thread Hebbar, Shivananda
>From dbd66bb187c17c027db6d8106cf878cf74bdcc43 Mon Sep 17 00:00:00 2001 From: Shivananda Hebbar Date: Wed, 24 Mar 2010 12:40:50 -0600 Subject: [PATCH] DSPBRIDGE: Cleanup custom error code (DSP_EVALUE -> -EINVAL) This patch replaces DSP_EVALUE with -EINVAL. Signed-off-by: Shivananda Hebbar ---

[RFC][PATCH v1 13/19] DSPBRIDGE: Cleanup custom error code (DSP_ETIMEOUT -> -ETIME)

2010-03-26 Thread Hebbar, Shivananda
>From 3584d0af0c04d04b47f4ca54336467afd33de20d Mon Sep 17 00:00:00 2001 From: Shivananda Hebbar Date: Wed, 24 Mar 2010 11:55:35 -0600 Subject: [PATCH] DSPBRIDGE: Cleanup custom error code (DSP_ETIMEOUT -> -ETIME) This patch replaces DSP_ETIMEOUT with -ETIME Signed-off-by: Shivananda Hebbar ---

[RFC][PATCH v1 12/19] DSPBRIDGE: Cleanup custom error code (DSP_ESIZE -> -EINVAL)

2010-03-26 Thread Hebbar, Shivananda
>From 992e701bbfcd681cee8af53cfe6fabc32d6d02a3 Mon Sep 17 00:00:00 2001 From: Shivananda Hebbar Date: Wed, 24 Mar 2010 11:44:03 -0600 Subject: [PATCH] DSPBRIDGE: Cleanup custom error code (DSP_ESIZE -> -EINVAL) This patch replaces DSP_ESIZE with -EINVAL. Signed-off-by: Shivananda Hebbar --- ar

[RFC][PATCH v1 11/19] Cleanup custom error code (DSP_ERANGE -> -EDOM)

2010-03-26 Thread Hebbar, Shivananda
>From 3f0617e4cb1b60150617090399eecb08a9116e44 Mon Sep 17 00:00:00 2001 From: Shivananda Hebbar Date: Wed, 24 Mar 2010 11:31:43 -0600 Subject: [PATCH] DSPBRIDGE: Cleanup custom error code (DSP_ERANGE -> -EDOM) This patch replaces DSP_ERANGE with -EDOM. Signed-off-by: Shivananda Hebbar --- arch

[RFC][PATCH v1 10/19] DSPBRIDGE: Cleanup custom error code (DSP_EPOINTER -> -EFAULT)

2010-03-26 Thread Hebbar, Shivananda
>From 169b4262b63ee4cc81a4061d402c53536574dfc9 Mon Sep 17 00:00:00 2001 From: Shivananda Hebbar Date: Wed, 24 Mar 2010 11:26:00 -0600 Subject: [PATCH] DSPBRIDGE: Cleanup custom error code (DSP_EPOINTER -> -EFAULT) This patch replaces DSP_EPOINTER with -EFAULT Signed-off-by: Shivananda Hebbar --

[RFC][PATCH v1 8/19] DSPBRIDGE: Cleanup custom error code (DSP_ENOTIMPL -> -ENOSYS)

2010-03-26 Thread Hebbar, Shivananda
>From ca9fb2edaa1934aeea76403a12377bfff6ed22c4 Mon Sep 17 00:00:00 2001 From: Shivananda Hebbar Date: Tue, 23 Mar 2010 12:19:38 -0600 Subject: [PATCH] DSPBRIDGE: Cleanup custom error code (DSP_ENOTIMPL -> -ENOSYS) This patch replaces DSP_ENOTIMPL with -ENOSYS Signed-off-by: Shivananda Hebbar --

[RFC][PATCH v1 9/19] DSPBRIDGE: Cleanup custom error code (DSP_EFOPEN ->- EBADF)

2010-03-26 Thread Hebbar, Shivananda
>From 3bf9c85d6d0794e790491334dca1dde8d0ada863 Mon Sep 17 00:00:00 2001 From: Shivananda Hebbar Date: Tue, 23 Mar 2010 13:24:31 -0600 Subject: [PATCH] DSPBRIDGE: Cleanup custom error code (DSP_EFOPEN ->- EBADF) This patch replaces DSP_EFOPEN with -EBADF Signed-off-by: Shivananda Hebbar --- arc

[RFC][PATCH v1 7/19] DSPBRIDGE: Cleanup custom error code (DSP_ENODETYPE -> -EPERM)

2010-03-26 Thread Hebbar, Shivananda
>From 78f772ea5115714c15740482079c8b8c04920fcc Mon Sep 17 00:00:00 2001 From: Shivananda Hebbar Date: Tue, 23 Mar 2010 12:02:46 -0600 Subject: [PATCH] DSPBRIDGE: Cleanup custom error code (DSP_ENODETYPE -> -EPERM) This patch replaces DSP_ENODETYPE with -EPERM Signed-off-by: Shivananda Hebbar --

[RFC][PATCH v1 5/19] DSPBRIDGE: Cleanup custom error code (DSP_EINVALIDARG -> -EINVAL)

2010-03-26 Thread Hebbar, Shivananda
>From 619341afefb8cc8e188b49525976488c94068864 Mon Sep 17 00:00:00 2001 From: Shivananda Hebbar Date: Tue, 23 Mar 2010 11:32:19 -0600 Subject: [PATCH] DSPBRIDGE: Cleanup custom error code (DSP_EINVALIDARG -> -EINVAL) This patch replaces DSP_EINVALIDARG with -EINVAL. Signed-off-by: Shivananda He

[RFC][PATCH v1 3/19] DSPBRIDGE: Cleanup custom error code (DSP_EFILE ->-ENOENT)

2010-03-26 Thread Hebbar, Shivananda
>From abf0989e50ae07724253136d88a6b679f8f1da39 Mon Sep 17 00:00:00 2001 From: Shivananda Hebbar Date: Tue, 23 Mar 2010 09:32:41 -0600 Subject: [PATCH] DSPBRIDGE: Cleanup custom error code (DSP_EFILE ->-ENOENT) This patch replaces error code DSP_EFILE with -ENOENT. Signed-off-by: Shivananda Hebba

[RFC][PATCH v1 2/19] DSPBRIDGE: Cleanup custom error code (DSP_ECORRUPTFILE ->-EBADF)

2010-03-26 Thread Hebbar, Shivananda
>From ca52a733142bba7f132a314b93d1489a89c4574b Mon Sep 17 00:00:00 2001 From: Shivananda Hebbar Date: Tue, 23 Mar 2010 09:27:38 -0600 Subject: [PATCH] DSPBRIDGE: Cleanup custom error code (DSP_ECORRUPTFILE ->-EBADF) This patch replaces DSP_ECORRUPTFILE with -EBADF. Signed-off-by: Shivananda Heb

[RFC][PATCH v1 1/19] DSPBRIDGE: Cleanup custom error code(DSP_EALREADYCONNECTED ->-EISCONN)

2010-03-26 Thread Hebbar, Shivananda
>From 0c883100634921b732c0b1bd149fec08080fbace Mon Sep 17 00:00:00 2001 From: Shivananda Hebbar Date: Tue, 23 Mar 2010 09:10:22 -0600 Subject: [PATCH] DSPBRIDGE: Cleanup custom error code(DSP_EALREADYCONNECTED ->-EISCONN) This patch replaces DSP_EALREADYCONNECTED with -EISCONN Signed-off-by: Sh

[RFC][PATCH v1 0/19] Cleanup- custom error codes

2010-03-26 Thread Hebbar, Shivananda
This RFC v1 patch series fixes E to -Ex Dsp_status replacement will be sent out as separate patch. As of today there are around 113 DSPBRIDGE specific error codes. Here are the details: 1. 41 error codes are not currently used in bridge. Hence they can be removed. 2. 19 error codes a

[PATCH] DSPBRIDGE:Fix sparse warnings

2010-03-26 Thread Deepak Chitriki
This patch fixes sparse warning "cast removes address space of expression" in drivers/dsp/bridge/wmd/tiomap_io.c Signed-off-by: Deepak Chitriki --- drivers/dsp/bridge/wmd/tiomap_io.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/dsp/bridge/wmd/tiomap_i

[PATCH 2/2] DSPBRIDGE: Distinguish between read or write buffers

2010-03-26 Thread Omar Ramirez Luna
This patch introduces the check to differentiate the buffers coming to the dsp through bridgedriver. So far they can be input (read) or output (write) or rw (which are treated the same way as an output buffer), this distinctions are made from dsp perspective. Since this needs to be checked on map

[PATCH 1/2] DSPBRIDGE: add checking 128 byte alignment for dsp cache line size

2010-03-26 Thread Omar Ramirez Luna
A buffer shared with MPU and DSP has to be aligned on both cache line size to avoid memory corrupton with some DSP cache operations. Since there's no way for dspbridge to know how the shared buffer will be used like: "read-only", "write-only", "rw" through its life span, any shared buffer passed to

[PATCH 0/2] DSPBRIDGE: 128 bytes alignment check

2010-03-26 Thread Omar Ramirez Luna
Technical info: https://omapzoom.org/gf/download/docmanfileversion/52/985/DSP_cache.pdf This set of patches introduces the 128 byte alignment check, needed to avoid corruption if the dsp is meant to write to boundary portions of an unaligned chunk of memory. The second patch uses a field composed

[PATCH] OMAP3: mailbox initialization for all omap versions

2010-03-26 Thread Guzman Lugo, Fernando
>From 47783fc3e030d4e49d20ba412661cc1f38d8aec0 Mon Sep 17 00:00:00 2001 From: Fernando Guzman Lugo Date: Fri, 26 Mar 2010 13:06:32 -0600 Subject: [PATCH] OMAP3: mailbox initialization for all omap versions This removes the check for omap2420, omap3430, omap44xx and initialize mailbox for all vers

Re: [PATCH 1/2] musb: add musb support for AM35x

2010-03-26 Thread Sergei Shtylyov
Gupta, Ajay Kumar wrote: AM35x has musb interface and uses CPPI4.1 DMA engine. Current patch supports only PIO mode and there are on-going discussions on location of CPPI4.1 DMA. Signed-off-by: Ajay Kumar Gupta tristate 'Inventra Highspeed Dual Role Controller (TI, ADI, ...)' @@ -140,7

Re: [PATCH] Registering sgx device and it's platform specific data

2010-03-26 Thread Felipe Balbi
On Fri, 26 Mar 2010 16:03:26 +0530, "Agarwal, Preshit" wrote: > In this patch SGX powervr_device is registered with it's platform specific > data to provide information about setting constraint through > omap_pm_set_min_bus_tput. > This patch removes the requirement of EXPORT_SYMBOL for the > oma

RE: USB on omap2430

2010-03-26 Thread Felipe Balbi
Hi, On Fri, 26 Mar 2010 16:38:11 +0530, Viral Mehta wrote: > Hi, > > I enabled "earlyprintk" and I have copy+pasted crashdump at the end of the > email. > > It is not able to get "otg_get_transceiver()" since transceiver was never > set. > OMAP2430 uses ISP1301 (grepped from SDP manual). > It i

RE: PATCH] OMAP3: add mailbox initialization for 3630

2010-03-26 Thread Guzman Lugo, Fernando
>-Original Message- >From: Hiroshi DOYU [mailto:hiroshi.d...@nokia.com] >Sent: Thursday, March 25, 2010 11:26 PM >To: Guzman Lugo, Fernando >Cc: Kanigeri, Hari; linux-omap@vger.kernel.org; ameya.pala...@nokia.com; >felipe.contre...@nokia.com >Subject: Re: PATCH] OMAP3: add mailbox initial

Re: [PATCH] Registering sgx device and it's platform specific data

2010-03-26 Thread Mike Turquette
Agarwal, Preshit wrote: In this patch SGX powervr_device is registered with it's platform specific data to provide information about setting constraint through omap_pm_set_min_bus_tput. This patch removes the requirement of EXPORT_SYMBOL for the omap_pm_set_min_bus_tput function. Signed-off-b

Re: Merge plans for Staging Synaptics Touchscreen Driver

2010-03-26 Thread Pavel Machek
Hi! > Are there any plans to merge the synaptics touchscreen driver > (drivers/staging/dream/synaptics_i2c_rmi.c) to > drivers/input/touchscreen. We are interested in the same > since OMAP3 based Zoom boards use this touchscreen. Plans are, but day job interferes with them. > Pl add (if required

Re: Problems with workqueue

2010-03-26 Thread Maulik Mankad
On Thu, Mar 25, 2010 at 4:54 PM, NS wrote: > Hi All, > > I am facing a problem with Work Queues and need some help debugging. We are > using 2.6.22 Kernel. I know that it is old kernel version, but this kernel > version was chosen for the product almost a year back and we are not in a > position t

RE: USB on omap2430

2010-03-26 Thread Viral Mehta
Hi, I enabled "earlyprintk" and I have copy+pasted crashdump at the end of the email. It is not able to get "otg_get_transceiver()" since transceiver was never set. OMAP2430 uses ISP1301 (grepped from SDP manual). It is on I2C1 bus and address 0x2D if I read the manual correctly. I think it was

Problems with workqueue

2010-03-26 Thread NS
Hi All, I am facing a problem with Work Queues and need some help debugging. We are using 2.6.22 Kernel. I know that it is old kernel version, but this kernel version was chosen for the product almost a year back and we are not in a position to change the kernel version due to time constraints. P

RE: Question on OTG transceivers

2010-03-26 Thread Gadiyar, Anand
Bill Gatliff wrote: > Gadiyar, Anand wrote: > > Actually, the way the ehci-omap driver is currently written, it assumes > > the transceiver is present and available - you don't need a separate > > driver to access it. > > > > For that matter, the same probably holds for the OTG driver as well - you

[PATCH] Registering sgx device and it's platform specific data

2010-03-26 Thread Agarwal, Preshit
In this patch SGX powervr_device is registered with it's platform specific data to provide information about setting constraint through omap_pm_set_min_bus_tput. This patch removes the requirement of EXPORT_SYMBOL for the omap_pm_set_min_bus_tput function. Signed-off-by: Allen Pais Signed-off-b

Re: [PATCH v6] OMAP UART: Add omap-serial driver support.

2010-03-26 Thread Alexander Shishkin
On Wed, Feb 24, 2010 at 10:54:22 -0800, Tony Lindgren wrote: > * Kevin Hilman [100224 10:36]: > > > > After that and Olof's comments, it should be submitted to linux-serial > > and LKML. > > Also, it needs to be posted as a series with the related > hwmod patches needed to actually test this dri

[PATCH] arm: omap1/2/3/4: convert clocksource to a platform_driver

2010-03-26 Thread Felipe Balbi
Convert the omap32k clocksource driver into a platform_driver and while at that, also remove the ifdeferry around the code. Signed-off-by: Felipe Balbi --- Amended both patches into one since there were different clock names before. Now the change will still be bisectable. arch/arm/mach-omap1/