Merge "qca: ipq806x: Fix SPI-NOR flash option value."

This commit is contained in:
Linux Build Service Account 2017-03-10 18:10:45 -08:00 committed by Gerrit - the friendly Code Review server
commit 457fb80fcc

View file

@ -389,6 +389,8 @@ struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,
}
ds->slave.bus = bus;
ds->slave.cs = cs;
ds->slave.option = 0;
ds->slave.max_write_size = 0;
ds->slave.op_mode_rx = 0; /* Default Rx Mode: CMD_READ_ARRAY_FAST */
ds->slave.op_mode_tx = 0; /* Default Tx Mode: CMD_PAGE_PROGRAM */
ds->slave.memory_map = NULL; /* Not memory mapped */