source: trunk/target/linux/omap24xx/patches-3.1/251-cbus-tahvo-lock-fix.patch @ 28767

Last change on this file since 28767 was 28767, checked in by mb, 5 years ago

omap24xx: Add cbus tahvo locking fix.

File size: 512 bytes
  • drivers/cbus/tahvo.c

    old new void tahvo_write_reg(struct device *chil 
    104104{ 
    105105        struct tahvo            *tahvo = dev_get_drvdata(child->parent); 
    106106 
     107        mutex_lock(&tahvo->mutex); 
    107108        __tahvo_write_reg(tahvo, reg, val); 
     109        mutex_unlock(&tahvo->mutex); 
    108110} 
    109111EXPORT_SYMBOL(tahvo_write_reg); 
    110112 
Note: See TracBrowser for help on using the repository browser.