Fix a bad comparison, spotted by Paul Brook.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4922 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
balrog 2008-07-22 01:57:42 +00:00
parent 8706c3824f
commit d406647966
2 changed files with 5 additions and 1 deletions

View file

@ -668,6 +668,9 @@ static void omap_dma_transfer_setup(struct soc_dma_ch_s *dma)
/* If the channel is async, update cpc */
if (!ch->sync && frames)
ch->cpc = a->dest & 0xffff;
/* TODO: if the destination port is IMIF or EMIFF, set the dirty
* bits on it. */
}
omap_dma_interrupts_update(s);