You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2023/10/25 14:22:54 UTC
[nuttx] branch master updated (611309b956 -> def7a34733)
This is an automated email from the ASF dual-hosted git repository.
pkarashchenko pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
from 611309b956 imxrt:serial Ensure the cache is updated if the DMA has updated again
new 1b5aeb1a08 imxrt:lpi2c DMA transaction only need the status conditioned
new 506f725a19 s32k3xx:lpi2c DMA transaction only need the status conditioned
new def7a34733 s32k1xx:lpi2c DMA transaction only need the status conditioned
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
arch/arm/src/imxrt/imxrt_lpi2c.c | 8 ++++----
arch/arm/src/s32k1xx/s32k1xx_lpi2c.c | 8 ++++----
arch/arm/src/s32k3xx/s32k3xx_lpi2c.c | 8 ++++----
3 files changed, 12 insertions(+), 12 deletions(-)
[nuttx] 03/03: s32k1xx:lpi2c DMA transaction only need the status conditioned
Posted by pk...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit def7a34733f3c59b4a7b068a6cba3a2d9b03a44d
Author: David Sidrane <Da...@NscDg.com>
AuthorDate: Wed Oct 25 03:34:58 2023 -0700
s32k1xx:lpi2c DMA transaction only need the status conditioned
With DMA enabled on some I2C channels but not all
the Non DMA channels were failing.
The cause was condition the status with only the enabled
interrupts on non DMA chennels. This conditioning needs
to only happen in DMA enabled channels
---
arch/arm/src/s32k1xx/s32k1xx_lpi2c.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/src/s32k1xx/s32k1xx_lpi2c.c b/arch/arm/src/s32k1xx/s32k1xx_lpi2c.c
index cc43ef356d..48f5079b17 100644
--- a/arch/arm/src/s32k1xx/s32k1xx_lpi2c.c
+++ b/arch/arm/src/s32k1xx/s32k1xx_lpi2c.c
@@ -1207,12 +1207,12 @@ static int s32k1xx_lpi2c_isr_process(struct s32k1xx_lpi2c_priv_s *priv)
#ifdef CONFIG_S32K1XX_LPI2C_DMA
uint32_t current_status = status;
- /* Condition the status with only the enabled interrupts */
-
- status &= s32k1xx_lpi2c_getenabledints(priv);
-
if (priv->rxdma != NULL || priv->txdma != NULL)
{
+ /* Condition the status with only the enabled interrupts */
+
+ status &= s32k1xx_lpi2c_getenabledints(priv);
+
/* Is there an Error condition */
if (current_status & LPI2C_MSR_LIMITED_ERROR_MASK)
[nuttx] 02/03: s32k3xx:lpi2c DMA transaction only need the status conditioned
Posted by pk...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 506f725a19843cdeaafa2cdfffb293eaa68d5191
Author: David Sidrane <Da...@NscDg.com>
AuthorDate: Wed Oct 25 03:34:37 2023 -0700
s32k3xx:lpi2c DMA transaction only need the status conditioned
With DMA enabled on some I2C channels but not all
the Non DMA channels were failing.
The cause was condition the status with only the enabled
interrupts on non DMA chennels. This conditioning needs
to only happen in DMA enabled channels
---
arch/arm/src/s32k3xx/s32k3xx_lpi2c.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/src/s32k3xx/s32k3xx_lpi2c.c b/arch/arm/src/s32k3xx/s32k3xx_lpi2c.c
index 517f0cf7e6..867c06397f 100644
--- a/arch/arm/src/s32k3xx/s32k3xx_lpi2c.c
+++ b/arch/arm/src/s32k3xx/s32k3xx_lpi2c.c
@@ -1187,12 +1187,12 @@ static int s32k3xx_lpi2c_isr_process(struct s32k3xx_lpi2c_priv_s *priv)
#ifdef CONFIG_S32K3XX_LPI2C_DMA
uint32_t current_status = status;
- /* Condition the status with only the enabled interrupts */
-
- status &= s32k3xx_lpi2c_getenabledints(priv);
-
if (priv->rxdma != NULL || priv->txdma != NULL)
{
+ /* Condition the status with only the enabled interrupts */
+
+ status &= s32k3xx_lpi2c_getenabledints(priv);
+
/* Is there an Error condition */
if (current_status & LPI2C_MSR_LIMITED_ERROR_MASK)
[nuttx] 01/03: imxrt:lpi2c DMA transaction only need the status conditioned
Posted by pk...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 1b5aeb1a0844b319542e5607d1115f284df338cf
Author: David Sidrane <Da...@NscDg.com>
AuthorDate: Wed Oct 25 03:23:49 2023 -0700
imxrt:lpi2c DMA transaction only need the status conditioned
With DMA enabled on some I2C channels but not all
the Non DMA channels were failing.
The cause was condition the status with only the enabled
interrupts on non DMA chennels. This conditioning needs
to only happen in DMA enabled channels
---
arch/arm/src/imxrt/imxrt_lpi2c.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/src/imxrt/imxrt_lpi2c.c b/arch/arm/src/imxrt/imxrt_lpi2c.c
index f3414c316d..e46bf1eda9 100644
--- a/arch/arm/src/imxrt/imxrt_lpi2c.c
+++ b/arch/arm/src/imxrt/imxrt_lpi2c.c
@@ -1357,12 +1357,12 @@ static int imxrt_lpi2c_isr_process(struct imxrt_lpi2c_priv_s *priv)
#ifdef CONFIG_IMXRT_LPI2C_DMA
uint32_t current_status = status;
- /* Condition the status with only the enabled interrupts */
-
- status &= imxrt_lpi2c_getenabledints(priv);
-
if (priv->dma != NULL)
{
+ /* Condition the status with only the enabled interrupts */
+
+ status &= imxrt_lpi2c_getenabledints(priv);
+
/* Is there an Error condition */
if (current_status & LPI2C_MSR_LIMITED_ERROR_MASK)