Jagdish Gediya fa8e6d58c5 mtd: nand: fsl_ifc: Fix nand waitfunc return value
As per the IFC hardware manual, Most significant 2 bytes in
nand_fsr register are the outcome of NAND READ STATUS command.

So status value need to be shifted and aligned as per the nand
framework requirement.

Fixes: 82771882d960 ("NAND Machine support for Integrated Flash Controller")
Cc: stable@vger.kernel.org # v3.18+
Signed-off-by: Jagdish Gediya <jagdish.gediya@nxp.com>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
2018-03-21 10:13:13 +01:00
..
2018-01-29 11:11:56 -08:00
2018-01-29 11:11:56 -08:00
2017-11-06 23:26:01 +01:00
2017-11-06 23:26:01 +01:00
2018-01-29 09:58:36 +01:00
2017-08-13 10:11:49 +02:00
2018-01-29 11:11:56 -08:00
2017-08-13 10:11:49 +02:00