mmc: mmc_getcd/getwp: use sensible defaults
Let mmc_getcd() return true and mmc_getwp() false if mmc driver doesn't
provide handlers for them.
Signed-off-by: Peter Korsgaard <peter.korsgaard@barco.com>
[trini: Add braces around first if test in each case to fix warning]
Signed-off-by: Tom Rini <trini@ti.com>
Taken from 2014.01
Signed-off-by: Eli Nidam <elini@marvell.com>
Change-Id: I0ba2b708105a8b53d98af759e990531c15c1665c
Reviewed-on: http://vgitil04.il.marvell.com:8080/5717
Reviewed-by: Eli Nidam <elini@marvell.com>
Tested-by: Eli Nidam <elini@marvell.com>
1 file changed