Re: [PATCH 2/2] mmc: dw_mmc: Print proper voltage on error

From: Krzysztof Kozlowski
Date: Wed Jul 13 2016 - 03:55:57 EST


On 07/13/2016 03:35 AM, Jaehoon Chung wrote:
> Hi Krzysztof,
>
> On 07/12/2016 11:08 PM, Krzysztof Kozlowski wrote:
>> The commit 97f659a2e972 ("mmc: dw_mmc: prevent to set the wrong
>> value") reordered the code so the 'uhs' variable used in
>> mmc_regulator_set_vqmmc() error message is always 0 at that time thus
>> always printing 3.3 voltage. Instead use value obtained from ios in
>> printed error message.
>
> The commit 97f659a2e972 was dropped because some board didn't work fine.
> Some boards didn't use the vqmmc suppy and not defined into device-tree.
>
> It's short time to fix. I will re-send the patch on next.
> At that time, i will check this patch.

Ah, okay. If 97f659a2e972 is dropped, there is no need for this patchset.

Best regards,
Krzysztof