mmc: Do not call get_cd for non removable cards
authorSascha Hauer <s.hauer@pengutronix.de>
Thu, 5 Dec 2013 13:34:46 +0000 (14:34 +0100)
committerChris Ball <chris@printf.net>
Mon, 13 Jan 2014 17:48:17 +0000 (12:48 -0500)
commitc1b55bfcb3e5599eb5e67efed70698ade02add4e
treeb13f59539096bb8e14b2b8a5244370f8b5b2a251
parent07c001c119c7de92be9c8ad1f1a3e5af459cb3d4
mmc: Do not call get_cd for non removable cards

Non removable cards are always present, so do not call get_cd for them.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/core.c