Skip to contentSkip to conversation

ASoC: fsl_esai: Fix incorrect xDC field width of xCCR registers

PATCH Applied Nicolin Chen 2 participants 3 messages Dec 30, 2014

Subsystems (3)
lore
Share & tools
lore

Nicolin Chen

author reviewer
#0 lore raw

PATCH 1/1 ASoC: fsl_esai: Fix incorrect xDC field width of xCCR registers

The xDC field should have 5 bit width according to Reference Manual. Thus this patch fixes it.

---

The patch was originally submitted by Aurelien BOUIN while in an informal way. And he hasn't finished any re-submitting during the past two weeks. Thus I create a new patch with his signed-off included so as to fix the probelm as soon as possible, not sure whether it's decent or not though.

--Nicolin

 sound/soc/fsl/fsl_esai.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/fsl/fsl_esai.h +1 -1
index 91a550f..5e793bb 100644
@@ -302,7 +302,7 @@
 #define ESAI_xCCR_xFP_MASK	(((1 << ESAI_xCCR_xFP_WIDTH) - 1) << ESAI_xCCR_xFP_SHIFT)
 #define ESAI_xCCR_xFP(v)	((((v) - 1) << ESAI_xCCR_xFP_SHIFT) & ESAI_xCCR_xFP_MASK)
 #define ESAI_xCCR_xDC_SHIFT     9
-#define ESAI_xCCR_xDC_WIDTH	4
+#define ESAI_xCCR_xDC_WIDTH	5
 #define ESAI_xCCR_xDC_MASK	(((1 << ESAI_xCCR_xDC_WIDTH) - 1) << ESAI_xCCR_xDC_SHIFT)
 #define ESAI_xCCR_xDC(v)	((((v) - 1) << ESAI_xCCR_xDC_SHIFT) & ESAI_xCCR_xDC_MASK)
 #define ESAI_xCCR_xPSR_SHIFT	8
Signature · 1 line
1.9.1
maintainer Applied
#1 lore raw
Quoted 2 lines · Nicolin Chen

The xDC field should have 5 bit width according to Reference Manual. Thus this patch fixes it.

Applied, thanks.

maintainer Applied
#2 lore raw
In reply to Nicolin Chen
Quoted 2 lines · Nicolin Chen

The xDC field should have 5 bit width according to Reference Manual. Thus this patch fixes it.

Applied, thanks - I also fixed the patch author up to be him.