Bug 3665 - fix
authorLukasz Forynski <lukasz.forynski@gmail.com>
Sun, 05 Sep 2010 16:45:46 +0100
changeset 261 4dbffe5c974e
parent 260 a1a318fd91af
child 272 70a6efdb753f
Bug 3665 - fix
kernel/eka/include/drivers/iic_transaction.h
kerneltest/e32test/iic/iic_psl/spi.cpp
kerneltest/e32test/iic/t_iic.h
--- a/kernel/eka/include/drivers/iic_transaction.h	Fri Sep 03 14:54:26 2010 +0100
+++ b/kernel/eka/include/drivers/iic_transaction.h	Sun Sep 05 16:45:46 2010 +0100
@@ -85,7 +85,8 @@
 	ESpiWordWidth_8,
 	ESpiWordWidth_10,
 	ESpiWordWidth_12,
-	ESpiWordWidth_16
+	ESpiWordWidth_16,
+	ESpiWordWidth_32
 	};
 
 /**
--- a/kerneltest/e32test/iic/iic_psl/spi.cpp	Fri Sep 03 14:54:26 2010 +0100
+++ b/kerneltest/e32test/iic/iic_psl/spi.cpp	Sun Sep 05 16:45:46 2010 +0100
@@ -242,7 +242,7 @@
 	// Valid values for the device ID will depend on the bus configuration
 	//
 	// Check that the values for word width, clock speed and clock mode are recognised
-	if((spiPtr->iWordWidth < 0) || (spiPtr->iWordWidth > ESpiWordWidth_16))
+	if((spiPtr->iWordWidth < 0) || (spiPtr->iWordWidth > ESpiWordWidth_32))
 		{
 		SPI_PRINT(("ERROR: DSimulatedIicBusChannelMasterSpi::CheckHdr unrecognised word width identifier %d\n",spiPtr->iWordWidth));
 		return KErrArgument;
--- a/kerneltest/e32test/iic/t_iic.h	Fri Sep 03 14:54:26 2010 +0100
+++ b/kerneltest/e32test/iic/t_iic.h	Sun Sep 05 16:45:46 2010 +0100
@@ -92,7 +92,8 @@
 	ESpiWordWidth_8,
 	ESpiWordWidth_10,
 	ESpiWordWidth_12,
-	ESpiWordWidth_16
+	ESpiWordWidth_16,
+	ESpiWordWidth_32
 	};
 
 enum TSpiClkMode