}
/* Chain the channels together */
- if (!cpu_is_omap1510())
+ if (!cpu_is_omap15xx())
omap_sound_dma_link_lch(data);
spin_unlock(&dma_list_lock);
}
chan = (*channels);
- if (!cpu_is_omap1510())
+ if (!cpu_is_omap15xx())
omap_sound_dma_unlink_lch(data);
for (i = 0; i < nr_linked_channels; i++) {
int cur_chan = chan[i];
omap_start_dma(channel);
s->started = 1;
s->hw_start(); /* start McBSP interface */
- }
+ } else if (cpu_is_omap310())
+ omap_start_dma(channel);
/* else the dma itself will progress forward with out our help */
FN_OUT(0);
return 0;
* irq from DMA after the first transfered/played buffer.
* (invocation of callback_omap_alsa_sound_dma() method).
*/
- if (cpu_is_omap15xx()) {
+ if (cpu_is_omap1510()) {
omap_stop_alsa_sound_dma(s);
}
ret = omap_start_alsa_sound_dma(s,