2.2.0-pre1 sb_audio.c:
-------------
static void sb_audio_close(int dev)
{
sb_devc *devc = audio_devs[dev]->devc;
/* if we did dma juggling put the right dmap in the right place */
#if 0
if(devc->duplex && audio_devs[dev]->dmap_out->dma != devc->dma8)
{
struct dma_buffparms *dmap_temp;
dmap_temp = audio_devs[dev]->dmap_out;
audio_devs[dev]->dmap_out = audio_devs[dev]->dmap_in;
audio_devs[dev]->dmap_in = dmap_temp;
}
#endif
audio_devs[dev]->dmap_out->dma = devc->dma8;
audio_devs[dev]->dmap_in->dma = ( devc->duplex ) ?
devc->dma16 : devc->dma8;
-------------
-- Jeff DeFouw <mrj@i2k.com> I2K Staff - http://www.i2k.com
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/