Re: [U-Boot] [PATCH] mmc: return meaningful error codes from mmc_select_hwpart

2014-06-10 Thread Stephen Warren
On 06/02/2014 12:18 AM, Pantelis Antoniou wrote: On May 23, 2014, at 9:47 PM, Stephen Warren wrote: 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

Re: [U-Boot] [PATCH] mmc: return meaningful error codes from mmc_select_hwpart

2014-06-10 Thread Pantelis Antoniou
On Jun 10, 2014, at 7:00 PM, Stephen Warren wrote: On 06/02/2014 12:18 AM, Pantelis Antoniou wrote: On May 23, 2014, at 9:47 PM, Stephen Warren wrote: Rather than just returning -1 everywhere, try to return something meaningful from mmc_select_hwpart(). Note that most other MMC functions

Re: [U-Boot] [PATCH] mmc: return meaningful error codes from mmc_select_hwpart

2014-06-02 Thread Pantelis Antoniou
Hi Stephen, On May 23, 2014, at 9:47 PM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com 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

Re: [U-Boot] [PATCH] mmc: return meaningful error codes from mmc_select_hwpart

2014-05-30 Thread Stephen Warren
On 05/23/2014 12:47 PM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com 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(),

[U-Boot] [PATCH] mmc: return meaningful error codes from mmc_select_hwpart

2014-05-23 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com 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,