RE: [PATCH 2/2] MUSB DMA_INTR register may sometimes read zero when infact there

2009-12-03 Thread Gadiyar, Anand
Pandita, Vikram wrote: > > > >+ if (!int_hsdma) { > >+ DBG(2, "spurious DMA irq\n"); > >+ > >+ for (bchannel = 0; bchannel < MUSB_HSDMA_CHANNELS; > >bchannel++) { > >+ musb_channel = (struct musb_dma_channel *) > >+

RE: [PATCH 2/2] MUSB DMA_INTR register may sometimes read zero when infact there

2009-12-03 Thread Pandita, Vikram
Anand >From: Anand Gadiyar > >MUSB DMA_INTR register may sometimes read zero when infact there > >was a pending interrupt. Workaround this by reading the DMA_COUNT >values for all enabled channels when this condition occurs. >Flag these channels as the ones needing to be serviced. > >Signed-off-b