exynos: spi: Fix calculation of SPI transaction start time
authorSimon Glass <sjg@chromium.org>
Mon, 7 Jul 2014 16:16:38 +0000 (10:16 -0600)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Tue, 5 Aug 2014 18:48:01 +0000 (00:18 +0530)
commita4e29db2571144a05ad09380b3674fe5b492f693
treed85694d31cac769a7e532e3265acf8d1076e0a82
parent2001b9a64165658e14f5afbe16874e0c55ddd04f
exynos: spi: Fix calculation of SPI transaction start time

The SPI transaction delay is supposed to be measured from the end of one
transaction to the start of the next. The code does not work that way, so
fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Ajay Kumar <ajaykumar.rs@samsung.com>
Reviewed-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
drivers/spi/exynos_spi.c