source: trunk/target/linux/omap24xx/patches-2.6.38/506-cbus-retu-irq-handler-locking.patch @ 26905

Last change on this file since 26905 was 26905, checked in by hauke, 6 years ago

kernel: update kernel from 2.6.38.2 to 2.6.38.6 and refresh patches

Thank you Peter Wagner for the patch. I refreshed the kernel patches and added the md5sum of the kernel.

File size: 403 bytes
  • drivers/cbus/retu.c

    a b static irqreturn_t retu_irq_handler(int 
    198198        u16                     idr; 
    199199        u16                     imr; 
    200200 
     201        mutex_lock(&retu->mutex); 
    201202        idr = __retu_read_reg(retu, RETU_REG_IDR); 
    202203        imr = __retu_read_reg(retu, RETU_REG_IMR); 
    203         idr &= ~imr; 
     204        mutex_unlock(&retu->mutex); 
    204205 
     206        idr &= ~imr; 
    205207        if (!idr) { 
    206208                dev_vdbg(retu->dev, "No IRQ, spurious?\n"); 
    207209                return IRQ_NONE; 
Note: See TracBrowser for help on using the repository browser.