mmc: Print error code for mmc_complete_init failure
authorJagan Teki <jagan@amarulasolutions.com>
Tue, 10 Jan 2017 10:18:43 +0000 (11:18 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 23 Jan 2017 06:37:42 +0000 (15:37 +0900)
commit919b485834a746cf839ccded41e456d17d57a31f
tree0bb4b1d043a36f63dda5a474c6dfd8fa6e5e2463
parent6d0e34bf4e21596563e5f5950d097a2eab4c81a8
mmc: Print error code for mmc_complete_init failure

Print the error code for non-zero (failure case) instead
of making debug statement without any condition, this
usually gives proper clue in failure condition.

Log:
drivers/mmc/mmc.c