mtd: spi-nor: fsl-quadspi: reset the module in the probe
authorFrank Li <Frank.Li@freescale.com>
Tue, 4 Aug 2015 15:26:10 +0000 (10:26 -0500)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 6 Aug 2015 17:07:44 +0000 (10:07 -0700)
commit8b8319c8b7d0385659c2df6376955cb6a1d918b6
treef73965a57d2ad3008346e79b2255e3907b39265a
parent5cc66cb7345d1bac71e94d7fd05dc86506f59dfe
mtd: spi-nor: fsl-quadspi: reset the module in the probe

The uboot may run the QuadSpi controler with command:
    #sf probe

So we should reset the module in the probe.
This patch also clear the pending interrupts which arised by the uboot
code.

Signed-off-by: Huang Shijie <shijie8@gmail.com>
Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/spi-nor/fsl-quadspi.c
This page took 0.037523 seconds and 5 git commands to generate.