<apelete>
larsc: maybe there's a better place than dma_complete() to update data->bytes_xfered ?
<apelete>
I was thinking about mmc_irq(), don't know if it's called at the end of each dma transfer
<DocScrutinizer05>
dma_complete sounds about logically correct place. You however may want to make sure to use the correct data source, since maybe dma itself changes pointer to mmc_data
<larsc>
apelete: doesn't trally matter, as long as it is updated before mmc_request_done()
<DocScrutinizer05>
the correct data source is where dma returns number of bytes transferred
<DocScrutinizer05>
particularly the DMA hw might abort prematurely for whatever rwason, and in this case you want to read out whatever hw register to learn about number of bytes actually transferred
<DocScrutinizer05>
since this approach is also applicable for DMA corectly comleting its job, it's the way to go
sb0 has joined #qi-hardware
sb0 has quit [Ping timeout: 255 seconds]
sb0 has joined #qi-hardware
dandon has joined #qi-hardware
jekhor has joined #qi-hardware
porchao has joined #qi-hardware
porchaso0 has quit [Ping timeout: 272 seconds]
jekhor has quit [Read error: Connection reset by peer]
jekhor has joined #qi-hardware
jekhor has quit [Read error: Connection reset by peer]
jekhor has joined #qi-hardware
jekhor has quit [Read error: Connection reset by peer]
jekhor has joined #qi-hardware
jekhor has quit [Ping timeout: 252 seconds]
porchaso0 has joined #qi-hardware
porchao has quit [Ping timeout: 264 seconds]
valhalla has quit [Ping timeout: 276 seconds]
valhalla has joined #qi-hardware
Luke-Jr has quit [Read error: Connection reset by peer]
Luke-Jr has joined #qi-hardware
zrafa has quit [Ping timeout: 244 seconds]
sb0 has quit [Quit: Leaving]
<wpwrak>
bwahaha. and so the blitzkrieg begins :)
<DocScrutinizer05>
huh?
<DocScrutinizer05>
wpwrak: please elaborate!
<DocScrutinizer05>
you're scaring me
<wpwrak>
argentina vs. bosnia. first goal in the 3rd minute, amidst great confusion on the side of bosnia (it was an own goal)
<DocScrutinizer05>
haha
<wpwrak>
for the rest of the first half, it was fairly unremarkable. of course, that was to be expected. with one goal in its favour, argentina feels it can rest on its laurels.
<wpwrak>
but .. so far, so good
<wpwrak>
in any case, it would be a miracle if argentina didn't get past the first around. in its group, there are bosnia, iran, and nigeria. of the three, bosnia is already the strongest opponent.
<wpwrak>
but it was surprising to hear all the noise as i was still fetching some tv snack. i thought they were particularly enthusiastic to see their team on the field. didn't expect the first goal quite that soon ;-)