summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d5f77b3)
raw | patch | inline | side by side (parent: d5f77b3)
author | Mahesh Radhakrishnan <m-radhakrishnan2@ti.com> | |
Sun, 29 Sep 2019 15:42:48 +0000 (11:42 -0400) | ||
committer | Sivaraj R <sivaraj@ti.com> | |
Mon, 30 Sep 2019 03:02:10 +0000 (22:02 -0500) |
src/v2/MMCSD_v2.c | patch | blob | history |
diff --git a/src/v2/MMCSD_v2.c b/src/v2/MMCSD_v2.c
index 5f02c645275375471b0090ae55c4afd15d42c7be..ccec1bed8f653b873902b1a4557b930a0b0e1fd4 100644 (file)
--- a/src/v2/MMCSD_v2.c
+++ b/src/v2/MMCSD_v2.c
@@ -3275,7 +3275,7 @@ static MMCSD_Error MMCSD_v2_setBusWidth(MMCSD_Handle handle, const uint32_t *bus
MMCSD_v2_Transaction transaction;
/* Input parameter validation */
- if ((handle == NULL) && (busWidth != NULL))
+ if ((handle != NULL) && (busWidth != NULL))
{
/* Get the pointer to the object and hwAttrs */
object = (MMCSD_v2_Object *)((MMCSD_Config *) handle)->object;