Replace DSP_EDPMSUSPEND with EPERM Signed-off-by: Omar Ramirez Luna <omar.ramirez@xxxxxx> --- drivers/dsp/bridge/rmgr/drv_interface.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/dsp/bridge/rmgr/drv_interface.c b/drivers/dsp/bridge/rmgr/drv_interface.c index e7eff24..08ad56d 100644 --- a/drivers/dsp/bridge/rmgr/drv_interface.c +++ b/drivers/dsp/bridge/rmgr/drv_interface.c @@ -112,7 +112,7 @@ static int omap34_xxbridge_suspend_lockout(struct omap34_xx_bridge_suspend_data { if ((s)->suspended) { if ((f)->f_flags & O_NONBLOCK) - return DSP_EDPMSUSPEND; + return -EPERM; wait_event_interruptible((s)->suspend_wq, (s)->suspended == 0); } return 0; -- 1.7.1 -- 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