You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pr...@apache.org on 2020/09/15 15:48:29 UTC

[incubator-nuttx] branch master updated: tiva: tiva_ssi.c: Fix nxstyle warnings

This is an automated email from the ASF dual-hosted git repository.

protobits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 0eae2a1  tiva: tiva_ssi.c: Fix nxstyle warnings
0eae2a1 is described below

commit 0eae2a1f59a0cac4bfd9a7f691337f920ff54ac9
Author: Nathan Hartman <59...@users.noreply.github.com>
AuthorDate: Tue Sep 15 10:38:57 2020 -0400

    tiva: tiva_ssi.c: Fix nxstyle warnings
    
    arch/arm/src/tiva/common/tiva_ssi.c:
    
        * Fix nxstyle warnings. No functional changes.
---
 arch/arm/src/tiva/common/tiva_ssi.c | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/arch/arm/src/tiva/common/tiva_ssi.c b/arch/arm/src/tiva/common/tiva_ssi.c
index 7b246b3..941209e 100644
--- a/arch/arm/src/tiva/common/tiva_ssi.c
+++ b/arch/arm/src/tiva/common/tiva_ssi.c
@@ -1204,7 +1204,9 @@ static uint32_t ssi_setfrequency(FAR struct spi_dev_s *dev,
   uint32_t enable;
   uint32_t actual;
 
-  /* NOTE that the SSI must be disabled when setting any configuration registers. */
+  /* NOTE that the SSI must be disabled when setting any configuration
+   * registers.
+   */
 
   enable = ssi_disable(priv);
   actual = ssi_setfrequencyinternal(priv, frequency);
@@ -1286,7 +1288,9 @@ static void ssi_setmode(FAR struct spi_dev_s *dev, enum spi_mode_e mode)
   struct tiva_ssidev_s *priv = (struct tiva_ssidev_s *)dev;
   uint32_t enable;
 
-  /* NOTE that the SSI must be disabled when setting any configuration registers. */
+  /* NOTE that the SSI must be disabled when setting any configuration
+   * registers.
+   */
 
   enable = ssi_disable(priv);
   ssi_setmodeinternal(priv, mode);
@@ -1334,7 +1338,9 @@ static void ssi_setbits(FAR struct spi_dev_s *dev, int nbits)
   struct tiva_ssidev_s *priv = (struct tiva_ssidev_s *)dev;
   uint32_t enable;
 
-  /* NOTE that the SSI must be disabled when setting any configuration registers. */
+  /* NOTE that the SSI must be disabled when setting any configuration
+   * registers.
+   */
 
   enable = ssi_disable(priv);
   ssi_setbitsinternal(priv, nbits);
@@ -1631,7 +1637,9 @@ FAR struct spi_dev_s *tiva_ssibus_initialize(int port)
 
   ssi_putreg(priv, TIVA_SSI_CR1_OFFSET, 0);
 
-  /* Set all CR0 fields to the reset state. This will also select Freescale SPI mode. */
+  /* Set all CR0 fields to the reset state. This will also select Freescale
+   * SPI mode.
+   */
 
   ssi_putreg(priv, TIVA_SSI_CR0_OFFSET, 0);