Skip to content
Snippets Groups Projects
Commit d4622df3 authored by Stephen Warren's avatar Stephen Warren Committed by Pantelis Antoniou
Browse files

mmc: return meaningful error codes from mmc_select_hwpart


Rather than just returning -1 everywhere, try to return something
meaningful from mmc_select_hwpart(). Note that most other MMC functions
don't do this, including functions called from mmc_select_hwpart(), so
I'm not sure how effective this will be. Still, it's one less place with
hard-coded -1.

Suggested-by: default avatarPantelis Antoniou <panto@antoniou-consulting.com>
Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
Acked-by: default avatarPantelis Antoniou <panto@antoniou-consulting.com>
parent e153b13c
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