Patches for LPC17xx SSP driver from Chris Taglia; patch for RAM test from Rommel Marcelo

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5792 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2013-03-27 12:39:21 +00:00
parent fa1d47e4f0
commit edc4fd3f96
1 changed files with 1 additions and 1 deletions

View File

@ -495,7 +495,7 @@ static void ssp_setbits(FAR struct spi_dev_s *dev, int nbits)
regval = ssp_getreg(priv, LPC17_SSP_CR0_OFFSET);
regval &= ~SSP_CR0_DSS_MASK;
regval |= ((nbits - 1) << SSP_CR0_DSS_SHIFT);
regval = ssp_getreg(priv, LPC17_SSP_CR0_OFFSET);
ssp_putreg(priv, LPC17_SSP_CR0_OFFSET, regval);
/* Save the selection so the subsequence re-configurations will be faster */