From: Shmulik Ladkani Date: Sun, 10 Jun 2012 10:58:12 +0000 (+0300) Subject: mtd: nand: Use the mirror BBT descriptor when reading its version X-Git-Tag: v3.2.32~145 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fda0be7fdddfb748257c7d6d7d5c12e5b50f7ae1;p=pandora-kernel.git mtd: nand: Use the mirror BBT descriptor when reading its version commit 7bb9c75436212813b38700c34df4bbb6eb82debe upstream. The code responsible for reading the version of the mirror bbt was incorrectly using the descriptor of the main bbt. Pass the mirror bbt descriptor to 'scan_read_raw' when reading the version of the mirror bbt. Signed-off-by: Shmulik Ladkani Acked-by: Sebastian Andrzej Siewior Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed