Re: [PATCH v1 1/1] mmc: core: skip card initialization if power class selection fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi. Chris.

You're right~ we can optmize code properly by moving printk to
mmc_select_powerclass.
Thanks for your reply.

2012/4/10 Chris Ball <cjb@xxxxxxxxxx>:
> Hi,
>
> On Mon, Apr 09 2012, Namjae Jeon wrote:
>> Hi Subhash.
>> There are duplicate printks in three places. Is there no way to avoid
>> duplicate printks ?
>
> The printk can go just before the final "return err" in
> mmc_select_powerclass().
>
> Thanks,
>
> - Chris.
> --
> Chris Ball   <cjb@xxxxxxxxxx>   <http://printf.net/>
> One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux