Revision 7ad6307ad6968ce25cecf209d4822d4c722be030 authored by Guenter Roeck on 07 March 2012, 11:58:55 UTC, committed by Guenter Roeck on 07 March 2012, 17:48:43 UTC
A global delay parameter has the side effect of being overwritten with 0 if a
single ZL2004 or ZL6105 is instantiated. If other chips supported by the same
driver are in the system, this will result in access errors for those chips.

To solve the problem, keep a per-instance copy of the delay parameter, and do
not change the original parameter.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Cc: stable@vger.kernel.org # 3.1+
Acked-by: Jean Delvare <khali@linux-fr.org>
1 parent 7cb3c44
History
File Mode Size
Kconfig -rw-r--r-- 532 bytes
Makefile -rw-r--r-- 274 bytes
compr.c -rw-r--r-- 1.8 KB
dev_bdev.c -rw-r--r-- 8.4 KB
dev_mtd.c -rw-r--r-- 6.6 KB
dir.c -rw-r--r-- 20.9 KB
file.c -rw-r--r-- 7.2 KB
gc.c -rw-r--r-- 20.2 KB
inode.c -rw-r--r-- 10.8 KB
journal.c -rw-r--r-- 23.7 KB
logfs.h -rw-r--r-- 23.8 KB
logfs_abi.h -rw-r--r-- 16.8 KB
readwrite.c -rw-r--r-- 56.0 KB
segment.c -rw-r--r-- 24.3 KB
super.c -rw-r--r-- 16.3 KB

back to top