From patchwork Sat Mar 27 02:27:15 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hebbar, Shivananda" X-Patchwork-Id: 88653 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 o2R2R2Wd014480 for ; Sat, 27 Mar 2010 02:27:21 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752533Ab0C0C1V (ORCPT ); Fri, 26 Mar 2010 22:27:21 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:41892 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752010Ab0C0C1U convert rfc822-to-8bit (ORCPT ); Fri, 26 Mar 2010 22:27:20 -0400 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id o2R2RHwh028747 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 26 Mar 2010 21:27:20 -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 o2R2RHEr026505 for ; Sat, 27 Mar 2010 07:57:17 +0530 (IST) Received: from dbde02.ent.ti.com ([172.24.170.145]) by dbde71.ent.ti.com ([172.24.170.149]) with mapi; Sat, 27 Mar 2010 07:57:17 +0530 From: "Hebbar, Shivananda" To: "linux-omap@vger.kernel.org" Date: Sat, 27 Mar 2010 07:57:15 +0530 Subject: [RFC][PATCH v1 3/19] DSPBRIDGE: Cleanup custom error code (DSP_EFILE ->-ENOENT) Thread-Topic: [RFC][PATCH v1 3/19] DSPBRIDGE: Cleanup custom error code (DSP_EFILE ->-ENOENT) Thread-Index: AcrNVQQzOcgY3wgrQoe5Bv5KzaWXyQ== Message-ID: <19F8576C6E063C45BE387C64729E7394044DEBEE09@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]); Sat, 27 Mar 2010 02:27:22 +0000 (UTC) diff --git a/arch/arm/plat-omap/include/dspbridge/errbase.h b/arch/arm/plat-omap/include/dspbridge/errbase.h index 81fc1b1..30d13f9 100644 --- a/arch/arm/plat-omap/include/dspbridge/errbase.h +++ b/arch/arm/plat-omap/include/dspbridge/errbase.h @@ -90,9 +90,6 @@ /* A general failure occurred */ #define DSP_EFAIL (DSP_EBASE + 8) -/* The specified executable file could not be found. */ -#define DSP_EFILE (DSP_EBASE + 9) - /* The specified handle is invalid. */ #define DSP_EHANDLE (DSP_EBASE + 0xa) diff --git a/drivers/dsp/bridge/rmgr/proc.c b/drivers/dsp/bridge/rmgr/proc.c index d664f96..42f4734 100644 --- a/drivers/dsp/bridge/rmgr/proc.c +++ b/drivers/dsp/bridge/rmgr/proc.c @@ -239,7 +239,7 @@ static dsp_status get_exec_file(struct cfg_devnode *dev_node_obj, return DSP_SOK; } } - return DSP_EFILE; + return -ENOENT; } /*