From patchwork Thu Mar 25 20:06:58 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hebbar, Shivananda" X-Patchwork-Id: 88327 X-Patchwork-Delegate: omar.ramirez@ti.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2PK6Q3e021290 for ; Thu, 25 Mar 2010 20:07:10 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754714Ab0CYUHJ (ORCPT ); Thu, 25 Mar 2010 16:07:09 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:50142 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754702Ab0CYUHI convert rfc822-to-8bit (ORCPT ); Thu, 25 Mar 2010 16:07:08 -0400 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id o2PK71HP011342 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 25 Mar 2010 15:07:03 -0500 Received: from dbde71.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id o2PK70pB027674; Fri, 26 Mar 2010 01:37:00 +0530 (IST) Received: from dbde02.ent.ti.com ([172.24.170.145]) by dbde71.ent.ti.com ([172.24.170.149]) with mapi; Fri, 26 Mar 2010 01:37:00 +0530 From: "Hebbar, Shivananda" To: "linux-omap@vger.kernel.org" CC: "Ramirez Luna, Omar" , Felipe Contreras , "Palande Ameya (Nokia-D/Helsinki)" , "Menon, Nishanth" Date: Fri, 26 Mar 2010 01:36:58 +0530 Subject: [RFC][PATCH 15/19] DSPBRIDGE: Cleanup custom error code (DSP_EUUID -> ENOKEY) Thread-Topic: [RFC][PATCH 15/19] DSPBRIDGE: Cleanup custom error code (DSP_EUUID -> ENOKEY) Thread-Index: AcrMVrmtiUir10BpScOiicV9+B9hDA== Message-ID: <19F8576C6E063C45BE387C64729E7394044DEBEB2B@dbde02.ent.ti.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 25 Mar 2010 20:07:10 +0000 (UTC) diff --git a/arch/arm/plat-omap/include/dspbridge/errbase.h b/arch/arm/plat-omap/include/dspbridge/errbase.h index dedca5d..7e2f0b6 100644 --- a/arch/arm/plat-omap/include/dspbridge/errbase.h +++ b/arch/arm/plat-omap/include/dspbridge/errbase.h @@ -122,9 +122,6 @@ * found in the COFF file. */ #define DSP_ESYMBOL (DSP_EBASE + 0x1c) -/* UUID not found in registry. */ -#define DSP_EUUID (DSP_EBASE + 0x1d) - /* Unable to read content of DCD data section ; this is typically caused by * improperly configured nodes. */ #define DSP_EDCDREADSECT (DSP_EBASE + 0x1e) diff --git a/arch/arm/plat-omap/include/dspbridge/node.h b/arch/arm/plat-omap/include/dspbridge/node.h index cc9a89c..f2e72df 100644 --- a/arch/arm/plat-omap/include/dspbridge/node.h +++ b/arch/arm/plat-omap/include/dspbridge/node.h @@ -40,7 +40,7 @@ * Returns: * DSP_SOK: Success. * ENOMEM: Insufficient memory on GPP. - * DSP_EUUID: Node UUID has not been registered. + * ENOKEY: Node UUID has not been registered. * DSP_ESYMBOL: iAlg functions not found for a DAIS node. * EDOM: attr_in != NULL and attr_in->prio out of * range. diff --git a/drivers/dsp/bridge/rmgr/dbdcd.c b/drivers/dsp/bridge/rmgr/dbdcd.c index 23961f9..43ea1ec 100644 --- a/drivers/dsp/bridge/rmgr/dbdcd.c +++ b/drivers/dsp/bridge/rmgr/dbdcd.c @@ -441,7 +441,7 @@ dsp_status dcd_get_object_def(IN struct dcd_manager *hdcd_mgr, reg_get_value(sz_reg_key, (u8 *) sz_reg_data, &dw_buf_size); if (DSP_FAILED(status)) { - status = DSP_EUUID; + status = ENOKEY; goto func_end; }