aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mtd/devices/m25p80.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 19632e330d36..d0f6475504f5 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -1204,6 +1204,8 @@ static int m25p_probe(struct spi_device *spi)
1204 /* If we were instantiated by DT, use it */ 1204 /* If we were instantiated by DT, use it */
1205 if (of_property_read_bool(np, "m25p,fast-read")) 1205 if (of_property_read_bool(np, "m25p,fast-read"))
1206 flash->flash_read = M25P80_FAST; 1206 flash->flash_read = M25P80_FAST;
1207 else
1208 flash->flash_read = M25P80_NORMAL;
1207 } else { 1209 } else {
1208 /* If we weren't instantiated by DT, default to fast-read */ 1210 /* If we weren't instantiated by DT, default to fast-read */
1209 flash->flash_read = M25P80_FAST; 1211 flash->flash_read = M25P80_FAST;