commit 4c0eee50658746b0333d35a75d3db6e0aac08ef9 upstream.Heh.
@@ -574,7 +574,7 @@ static void rz_dmac_issue_pending(struct dma_chan *chan)Array could be avoided altogether; you could check for power of two
and then count bits. That would give even shorter code, but I'm not
sure about readability.
I'd also not mind using usual convention here: return int, >= 0
success, < 0 errno.
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany