]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd/docg3: fix protection areas reading
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sat, 19 Nov 2011 15:02:45 +0000 (16:02 +0100)
committerArtem Bityutskiy <Artem.Bityutskiy@intel.com>
Tue, 22 Nov 2011 21:13:57 +0000 (23:13 +0200)
commiteb363716eeacab7a64064774799886d6766a9133
treee2d81f62fd166e15a5067a06e379992dcbd63f4d
parent2881b390333dd18e9b1748f383fbc563cef3cf66
mtd/docg3: fix protection areas reading

The protection areas boundaries were on 16bit registers, not
8bit. This is consistent with block numbers, which can
extend up to 4096 on bigger chips (and is 2048 on the
docg3).

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
drivers/mtd/devices/docg3.c