Recursion in CFI driver. Is it really necessary to have.
Alexey Korolev
akorolev at infradead.org
Fri Oct 12 10:11:35 EDT 2007
Hi,
We encountered some problems with CFI driver (cfi_cmdset_0001.c). Investigation showed that it is rather possible that the issues are related to recursion call of get_chip function.
I am just wondering if it really needed to have the recursion in CFI drivers. From point of Flash commands the maximum necessary depth of recursive calls should be 1. (To handle suspend operatons).
What do you think of little modification here?
I will add some more debugging to make sure if problems are related to recursion or ont.
More information about the linux-mtd
mailing list