]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: pxa3xx_nand: initialiaze pxa3xx_flash_ids to 0
authorAntoine Ténart <antoine.tenart@free-electrons.com>
Thu, 12 Feb 2015 14:53:27 +0000 (15:53 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Sat, 28 Feb 2015 09:26:35 +0000 (01:26 -0800)
commit99d8974ef8eb763bbd943eb6b040c30c3bfd47bf
tree22a84b3254bd0e25ae5fa2e79d44fca415e40c8d
parentabe25d87fe425bffca6237cc649b4c16b28e659c
mtd: pxa3xx_nand: initialiaze pxa3xx_flash_ids to 0

pxa3xx_flash_ids wasn't initialized to 0, which in certain cases could
end up containing corrupted values in its members. Fix this to avoid
possible issues.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/pxa3xx_nand.c