This patch series tries to clean up the remaining 46 error codes. Out of that 13 error codes are mapped to Linux errrorcodes. Rest of the error codes will be kept as it is in the errbase.h. Link to stage 1 cleanup can be found here. http://www.mail-archive.com/linux-omap@xxxxxxxxxxxxxxx/msg25835.html Shivananda Hebbar (13) DSPBRIDGE: Cleanup custom error code (DSP_EDIRECTION -> -EPERM) DSPBRIDGE: Cleanup custom error code (DSP_ESTREAMFULL -> -ENOSR) DSPBRIDGE: Cleanup custom error code (DSP_ENOMORECONNECTIONS -> -ECONNREFUSED) DSPPBRIDGE: Cleanup custom error code (DSP_EFREAD -> -EBADF) DSPBRIDGE: Cleanup custom error code (DSP_EALIGNMENT -> -EPERM) DSPBRIDGE: Cleanup custom error code (DSP_ESTRMMODE -> -EPERM) DSPBRIDGE: Cleanup custom error code (CFG_E_INVALIDPOINTER -> -EFAULT) DSPBRIDGE: Cleanup custom error code (CFG_E_INVALIDHDEVNODE -> -EFAULT) DSPBRIDGE: Cleanup custom error code (CFG_E_RESOURCENOTAVAIL -> -NODATA) DSPBRIDGE: Cleanup custom error code (COD_E_OPENFAILED -> -EBADF) DSPBRIDGE: Cleanup custom error code (REG_E_INVALIDSUBKEY -> -ENOKEY) DSPBRIDGE: Cleanup custom error code (REG_E_NOMOREITEMS -> -ENODATA) DSPBRIDGE: Cleanup custom error code (DSP_EFAIL -> -EPERM) arch/arm/plat-omap/include/dspbridge/_dcd.h | 2 +- arch/arm/plat-omap/include/dspbridge/cfg.h | 44 +++--- arch/arm/plat-omap/include/dspbridge/clk.h | 10 +- arch/arm/plat-omap/include/dspbridge/cmm.h | 14 +- arch/arm/plat-omap/include/dspbridge/cod.h | 8 +- arch/arm/plat-omap/include/dspbridge/dbdcd.h | 16 +- arch/arm/plat-omap/include/dspbridge/dblldefs.h | 4 +- arch/arm/plat-omap/include/dspbridge/dev.h | 14 +- arch/arm/plat-omap/include/dspbridge/disp.h | 4 +- arch/arm/plat-omap/include/dspbridge/drv.h | 12 +- arch/arm/plat-omap/include/dspbridge/errbase.h | 205 ++--------------------- arch/arm/plat-omap/include/dspbridge/mgr.h | 12 +- arch/arm/plat-omap/include/dspbridge/node.h | 30 ++-- arch/arm/plat-omap/include/dspbridge/proc.h | 48 +++--- arch/arm/plat-omap/include/dspbridge/pwr.h | 8 +- arch/arm/plat-omap/include/dspbridge/reg.h | 8 +- arch/arm/plat-omap/include/dspbridge/strm.h | 28 ++-- arch/arm/plat-omap/include/dspbridge/sync.h | 10 +- arch/arm/plat-omap/include/dspbridge/wmd.h | 44 +++--- drivers/dsp/bridge/pmgr/cmm.c | 12 +- drivers/dsp/bridge/pmgr/cod.c | 8 +- drivers/dsp/bridge/pmgr/dbll.c | 4 +- drivers/dsp/bridge/pmgr/dev.c | 10 +- drivers/dsp/bridge/pmgr/msg.c | 2 +- drivers/dsp/bridge/pmgr/wcd.c | 10 +- drivers/dsp/bridge/rmgr/dbdcd.c | 44 +++--- drivers/dsp/bridge/rmgr/disp.c | 16 +- drivers/dsp/bridge/rmgr/drv.c | 20 +- drivers/dsp/bridge/rmgr/dspdrv.c | 4 +- drivers/dsp/bridge/rmgr/mgr.c | 6 +- drivers/dsp/bridge/rmgr/nldr.c | 4 +- drivers/dsp/bridge/rmgr/node.c | 42 +++--- drivers/dsp/bridge/rmgr/proc.c | 30 ++-- drivers/dsp/bridge/rmgr/pwr.c | 8 +- drivers/dsp/bridge/rmgr/strm.c | 22 ++-- drivers/dsp/bridge/services/cfg.c | 34 ++-- drivers/dsp/bridge/services/clk.c | 12 +- drivers/dsp/bridge/services/reg.c | 2 +- drivers/dsp/bridge/services/regsup.c | 10 +- drivers/dsp/bridge/services/regsup.h | 4 +- drivers/dsp/bridge/services/sync.c | 6 +- drivers/dsp/bridge/wmd/chnl_sm.c | 2 +- drivers/dsp/bridge/wmd/io_sm.c | 20 +- drivers/dsp/bridge/wmd/msg_sm.c | 8 +- drivers/dsp/bridge/wmd/tiomap3430.c | 44 +++--- drivers/dsp/bridge/wmd/tiomap3430_pwr.c | 18 +- drivers/dsp/bridge/wmd/tiomap_io.c | 20 +- drivers/dsp/bridge/wmd/ue_deh.c | 2 +- 48 files changed, 385 insertions(+), 560 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html