Changeset aa5ae788 in mainline
- Timestamp:
- 2011-10-06T12:26:40Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e0f9950
- Parents:
- d2134da
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/sb16/dma_controller.c
rd2134da raa5ae788 240 240 unsigned channel, uintptr_t pa, size_t size) 241 241 { 242 if (channel == 4 || channel > 7)242 if (channel <= 4 || channel > 7) 243 243 return ENOTSUP; 244 244 assert(controller); … … 286 286 if (!controller) 287 287 controller = dma_controller_init(); 288 288 289 if (!controller) 289 290 return EIO; 290 if (channel <= 4) 291 292 if (channel < 4) 291 293 return dma_setup_channel_8bit(controller, channel, pa, size); 292 294 else
Note:
See TracChangeset
for help on using the changeset viewer.