On Thu, Oct 01, 2009 at 01:43:02, Troy Kisky wrote: > Chaithrika U S wrote: > > The DMA params for McASP with FIFO has been updated so that it works for > > various FIFO levels. A member- 'fifo_level' has been added to the DMA > > params data structure. The fifo_level can be adjusted by the tx[rx]_numevt > > platform data. This is relevant only for DA8xx/OMAP-L1xx platforms. This > > implementation has been tested for numevt values 1, 2, 4, 8. > > + if (fifo_level) > > + count /= fifo_level; > > So can this be fifo_shift instead > count >>= fifo_shift; >
No, it cannot be so. The fifo_level can take any value. Have tried with values 3, 5 too... Regards, Chaithrika _______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source