spi: intel: Switch CS before unmasking and after masking interrupts
At this points the slave is ready to deal with the master. Change-Id: I815d3c577bd0b73100cbf585cc8ca78f180ec713 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
15058e21ef
commit
f18275a5be
1 changed files with 2 additions and 2 deletions
|
@ -421,10 +421,10 @@ int spi_intel_init(struct device *dev)
|
||||||
return DEV_NOT_CONFIG;
|
return DEV_NOT_CONFIG;
|
||||||
}
|
}
|
||||||
|
|
||||||
_spi_config_cs(dev);
|
|
||||||
|
|
||||||
info->config_func(dev);
|
info->config_func(dev);
|
||||||
|
|
||||||
|
_spi_config_cs(dev);
|
||||||
|
|
||||||
irq_enable(info->irq);
|
irq_enable(info->irq);
|
||||||
|
|
||||||
DBG("SPI Intel Driver initialized on device: %p\n", dev);
|
DBG("SPI Intel Driver initialized on device: %p\n", dev);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue