Home
last modified time | relevance | path

Searched hist:d4622df34280830cfe0678f098d3d9f62e6b5d94 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/mmc/
H A Dmmc.cd4622df34280830cfe0678f098d3d9f62e6b5d94 Fri May 23 18:47:06 UTC 2014 Stephen Warren <swarren@nvidia.com> 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: Pantelis Antoniou <panto@antoniou-consulting.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>