Changeset 50 for trunk/kernel/drivers


Ignore:
Timestamp:
Jun 26, 2017, 3:15:11 PM (5 years ago)
Author:
alain
Message:

bloup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/drivers/soclib/soclib_mmc.c

    r4 r50  
    8585
    8686        // get command type
    87         uint32_t cc_cmd = MMC_CC_INVAL ? SOCLIB_MMC_CC_INVAL : SOCLIB_MMC_CC_SYNC;
     87        uint32_t cc_cmd;
     88        if( type == MMC_CC_INVAL )  cc_cmd = SOCLIB_MMC_CC_INVAL;
     89        else                        cc_cmd = SOCLIB_MMC_CC_SYNC;
    8890
    8991        // set SOCLIB_MMC registers to start INVAL/SYNC operation
Note: See TracChangeset for help on using the changeset viewer.