Changeset 5d367c56 in rtems


Ignore:
Timestamp:
Jan 26, 2017, 9:54:57 AM (3 years ago)
Author:
Martin Aberg <maberg@…>
Branches:
5, master
Children:
05749690
Parents:
c297060
git-author:
Martin Aberg <maberg@…> (01/26/17 09:54:57)
git-committer:
Daniel Hellstrom <daniel@…> (05/14/17 10:31:58)
Message:

leon, grcan: unregister interrupt handler at close

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/shared/can/grcan.c

    rc297060 r5d367c56  
    12761276        FUNCDBG();
    12771277
    1278         if ( pDev->started )
     1278        if ( pDev->started ) {
     1279                /* Disable interrupts */
     1280                drvmgr_interrupt_unregister(pDev->dev, 0, grcan_interrupt, pDev);
    12791281                grcan_hw_stop(pDev);
     1282                pDev->started = 0;
     1283        }
    12801284
    12811285        grcan_hw_reset(pDev->regs);
Note: See TracChangeset for help on using the changeset viewer.