]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/sd-mmc.git/commitdiff
Using socIntrPath fucntion from the hwAttrs instead of static, during close()
authorMahesh Radhakrishnan <m-radhakrishnan2@ti.com>
Thu, 29 Nov 2018 21:34:06 +0000 (16:34 -0500)
committerMahesh Radhakrishnan <m-radhakrishnan2@ti.com>
Thu, 29 Nov 2018 21:34:06 +0000 (16:34 -0500)
Signed-off-by: Mahesh Radhakrishnan <m-radhakrishnan2@ti.com>
src/v2/MMCSD_v2.c

index a3fbc9dab30a5fbaaf401e7d9341f88f9e5c0dd4..e6c85cbae7b3a9a9fe5eba4de266199e040cecf8 100644 (file)
@@ -759,7 +759,7 @@ static MMCSD_Error MMCSD_v2_close(MMCSD_Handle handle)
     {
        /* Release the interrupt path */
        if (hwAttrs->configSocIntrPath!=NULL) {
-          ret = MMCSD_configSocIntrPath(hwAttrs,FALSE);
+          ret = hwAttrs->configSocIntrPath(hwAttrs,FALSE);
         }  
        
        if(ret==MMCSD_OK) {