10 Jun
2018
10 Jun
'18
9:36 p.m.
On Fri, 2018-06-08 at 15:18 -0700, Ranjani Sridharan wrote:
+/* Initialize all platform DMAC's */ +int dmac_init(void) +{
int i, ret;
for (i = 0; i < ARRAY_SIZE(dma); i++) {
ret = dma_probe(&dma[i]);
if (ret < 0) {
/* trace failed DMAC ID */
We also need a trace error string too otherwise the number below is ambiguous.
trace_error_value(dma[i].plat_data.id);
return ret;
}
}
return 0;
+}