ASoC: fsl_esai: Fix ESAI_xCCR_xDC_WIDTH definition
Subsystems (3)
PATCH v2 1/1 ASoC: fsl_esai: Fix ESAI_xCCR_xDC_WIDTH definition
Quoted 1 line
From
9bcae891b8fe7a42cbc2cd88319f7bd4ab44d012Mon Sep 17 00:00:00 2001
From: Aurelien BOUIN <[email protected]>
Date: Thu, 18 Dec 2014 15:14:53 +0100
Subject: [PATCH 1/1] According to the mx6 reference manual the TDC and RDC field of registers ESAI_TCCR and ESAI_RCCR have a width of 5 bits, not 4
sound/soc/fsl/fsl_esai.h +0 -0
@@ -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
Fabio Estevam
reviewerQuoted 5 lines · Aurelien Bouin
From
9bcae891b8fe7a42cbc2cd88319f7bd4ab44d012Mon Sep 17 00:00:00 2001
From: Aurelien BOUIN <[email protected]>
Date: Thu, 18 Dec 2014 15:14:53 +0100
Subject: [PATCH 1/1] According to the mx6 reference manual the TDC and RDC field of registersESAI_TCCRandESAI_RCCRhave a width of 5 bits, not 4
You are not using git send-email, are you?
The commit log appears now incorrectly in the subject.