Message ID | 4B55BFC5.506@octasic.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
diff --git a/drivers/spi/dw_spi.c b/drivers/spi/dw_spi.c index 31620fa..01ad79a 100644 --- a/drivers/spi/dw_spi.c +++ b/drivers/spi/dw_spi.c @@ -832,6 +832,11 @@ int __devinit dw_spi_add_host(struct dw_spi *dws) goto exit; } + if (!dws->num_cs) + dws->num_cs = 4; + if (!dws->fifo_len) + dws->fifo_len = 40; + dws->master = master; dws->type = SSI_MOTO_SPI; dws->prev_chip = NULL;