Commit 36ddf268 authored by Guido Gunther's avatar Guido Gunther Committed by Angus Ainslie (Purism)

dcss: Fix incorrect check

We're returning != 0 on error
Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent 489052bf
......@@ -274,7 +274,7 @@ int dcss_ctxld_init(struct dcss_soc *dcss, unsigned long ctxld_base)
}
ret = dcss_ctxld_irq_config(priv);
if (!ret)
if (ret)
return ret;
dcss_ctxld_hw_cfg(dcss);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment