[U-Boot] [PATCH 2/2] mmc: sdhci: use the generic error number
Jaehoon Chung
jh80.chung at samsung.com
Sun Sep 25 23:18:08 CEST 2016
Hi Stefen,
On 09/23/2016 07:26 PM, Stefan Roese wrote:
> On 23.09.2016 12:14, Jaehoon Chung wrote:
>> Use the generic error number instead of meaningless value.
>>
>> Signed-off-by: Jaehoon Chung <jh80.chung at samsung.com>
>> ---
>> drivers/mmc/kona_sdhci.c | 6 +++---
>> drivers/mmc/mv_sdhci.c | 2 +-
>> drivers/mmc/s5p_sdhci.c | 8 ++++----
>> drivers/mmc/sdhci.c | 12 ++++++------
>> 4 files changed, 14 insertions(+), 14 deletions(-)
>>
>> diff --git a/drivers/mmc/kona_sdhci.c b/drivers/mmc/kona_sdhci.c
>> index 0c4f30e..71c06b1 100644
>> --- a/drivers/mmc/kona_sdhci.c
>> +++ b/drivers/mmc/kona_sdhci.c
>> @@ -27,7 +27,7 @@ static int init_kona_mmc_core(struct sdhci_host *host)
>>
>> if (sdhci_readb(host, SDHCI_SOFTWARE_RESET) & SDHCI_RESET_ALL) {
>> printf("%s: sd host controller reset error\n", __func__);
>> - return 1;
>> + return -;
>
> You probably missed something here.
Oh..Thanks! I will resend the patch..
Best Regards,
Jaehoon Chung
>
> Thanks,
> Stefan
>
>
>
More information about the U-Boot
mailing list