[PATCH v6] mtd:nor:timeout:fix do_write_buffer() timeout error
Bean Huo
beanhuo at outlook.com
Wed Jul 16 17:54:17 PDT 2014
> Hi Bean,
>> + cfi->chips[i].buffer_write_time_max =
>> + ((cfi->chips[i].buffer_write_time_max>= 2000)
>> + ? cfi->chips[i].buffer_write_time_max : 2000);
>
> This should just use the 'max()' macro, from <linux/kernel.h>.
> I have just fixed up your patch myself, to use max() and to improve some
> of the language. Let me know if the below works for you.
hi,Brian
Thanks once again.I test and it works Ok.It can be accepted now?
More information about the linux-mtd
mailing list