14 Jun
2012
14 Jun
'12
12:43 p.m.
On Mon, 2012-06-11 at 18:04 +0800, Zhangfei Gao wrote:
+static int mmp_tdma_clear_chan_irq(struct mmp_tdma_chan *tdmac) +{
u32 reg = readl(tdmac->reg_base + TDISR);
if (reg & TDISR_COMP) {
/* clear irq */
reg &= ~TDISR_COMP;
writel(reg, tdmac->reg_base + TDISR);
return 0;
}
return -1;
+}
-1? Please return a proper linux error code.
--
~Vinod
--
To unsubscribe from this list: send the line "unsubscribe alsa-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html