[PATCH v2 3/5] spi: s3c64xx: do not configure the device twice

2016-06-27 Thread Andi Shyti
At the start of the transfer, the spi_config function is called twice, the first time when the 3c64xx_spi_prepare_message is called and the second time with the s3c64xx_spi_transfer_one, both called from the spi framework. Remove the first call at the prepare message because in that point we

[PATCH v2 3/5] spi: s3c64xx: do not configure the device twice

2016-06-27 Thread Andi Shyti
At the start of the transfer, the spi_config function is called twice, the first time when the 3c64xx_spi_prepare_message is called and the second time with the s3c64xx_spi_transfer_one, both called from the spi framework. Remove the first call at the prepare message because in that point we