Changeset 1ecc5de in mainline for uspace/drv/bus/usb/ohci/ohci.c
- Timestamp:
- 2011-07-10T20:43:22Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2e8a01b
- Parents:
- 2bc7122
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/ohci.c
r2bc7122 r1ecc5de 58 58 { 59 59 assert(dev); 60 assert(dev->driver_data);61 60 return dev->driver_data; 62 61 } 63 64 62 /** IRQ handling callback, identifies device 65 63 * … … 71 69 { 72 70 hc_t *hc = &dev_to_ohci(dev)->hc; 73 assert(hc); 71 if (!hc) { 72 usb_log_warning("IRQ on device that is not ready.\n"); 73 return; 74 } 74 75 const uint16_t status = IPC_GET_ARG1(*call); 75 76 hc_interrupt(hc, status);
Note:
See TracChangeset
for help on using the changeset viewer.