Skip to content
Snippets Groups Projects
Commit d4e1da4e authored by Peter Korsgaard's avatar Peter Korsgaard Committed by Tom Rini
Browse files

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: default avatarPeter Korsgaard <peter.korsgaard@barco.com>
[trini: Add braces around first if test in each case to fix warning]
Signed-off-by: default avatarTom Rini <trini@ti.com>
parent bd380cf4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment