[PATCH 6/9] mtd: gpmi: simplify the setting DLL code
Huang Shijie
b32955 at freescale.com
Wed Sep 12 03:00:02 EDT 2012
于 2012年09月12日 02:08, Vikram Narayanan 写道:
>>
>> /*
>> * After we enable the GPMI DLL, we have to wait 64 clock cycles before
>> - * we can use the GPMI.
>> - *
>> - * Calculate the amount of time we need to wait, in microseconds.
>> + * we can use the GPMI. Calculate the amount of time we need to wait,
>> + * in microseconds.
>> */
>> clock_period_in_ns = 1000000000 / clk_get_rate(r->clock[0]);
>
> NSEC_PER_SEC macro in the above statement?
>
> Don't curse me for commenting about the code that you've not written.
> As this patch does some cleanups, I'm suggesting this.
I finally get what's your meaning. thanks for you review :)
I really appreciate it.
Best Regards
Huang Shijie
More information about the linux-mtd
mailing list