Changeset 867b99f in rtems


Ignore:
Timestamp:
Dec 15, 2015, 3:21:03 PM (4 years ago)
Author:
Martin Galvan <martin.galvan@…>
Branches:
master
Children:
b355e190
Parents:
18847ac
git-author:
Martin Galvan <martin.galvan@…> (12/15/15 15:21:03)
git-committer:
Gedare Bloom <gedare@…> (12/16/15 19:07:38)
Message:

Beaglebone Black: Fix rtems_gpio_bsp_disable_interrupt disabling all the GPIO interrupts

Currently, rtems_gpio_bsp_disable_interrupt disables the interrupts for all the
pins, not just the one that actually caused the interrupt. This patch
fixes that issue.

Closes #2497.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/beagle/gpio/bbb-gpio.c

    r18847ac r867b99f  
    361361) {
    362362  /* Clear IRQ generation for the specific pin */
    363   mmio_set(bbb_reg(bank, AM335X_GPIO_IRQSTATUS_CLR_0), BIT(pin));
     363  mmio_write(bbb_reg(bank, AM335X_GPIO_IRQSTATUS_CLR_0), BIT(pin));
    364364
    365365  switch ( interrupt ) {
Note: See TracChangeset for help on using the changeset viewer.