mmc: free allocated memory on initialization errors
authorDarwin Rambo <drambo@broadcom.com>
Mon, 26 May 2014 20:31:12 +0000 (13:31 -0700)
committerPantelis Antoniou <panto@antoniou-consulting.com>
Thu, 12 Jun 2014 12:21:12 +0000 (15:21 +0300)
commit3d6a5a4dfca25a202e356e4d63e89cdc6bd7255a
tree38647d9ea7beb46987e5f0f01a5fb54be2b37977
parenta5710920b7b0016c6d83897d251b44922f5ca832
mmc: free allocated memory on initialization errors

Cleanup to balance malloc/free calls.

Signed-off-by: Darwin Rambo <drambo@broadcom.com>
Reviewed-by: Steve Rae <srae@broadcom.com>
Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
drivers/mmc/kona_sdhci.c