[PATCH] mtd cs553x_nand: Initialise ecc.strength before nand_scan()
Mike Dunn
mikedunn at newsguy.com
Tue Nov 27 13:11:24 EST 2012
On 11/21/2012 08:08 PM, Brian Norris wrote:
> On Wed, Nov 21, 2012 at 3:42 PM, Nathan Williams <nathan at traverse.com.au> wrote:
>> Loading cs553x_nand with Hynix H27U1G8F2BTR NAND flash causes this bug:
>>
>> kernel BUG at drivers/mtd/nand/nand_base.c:3345!
> ...
>> Initialising ecc.strength before the call to nand_scan() fixes this.
>
> Acked-by: Brian Norris <computersforpeace at gmail.com>
Acked-by: Mike Dunn <mikedunn at newsguy.com>
>
> BTW, I made a quick read through of the other NAND drivers to look for
> similar errors. I think this is the only one where the only
> ecc.strenght initialization occurred after the nand_scan() or
> nand_scan_tail() call.
Thanks for that Brian. I thought I did this when another driver had a similiar
problem a while back. Maybe I just intended to :(
Mike
More information about the linux-mtd
mailing list