diff mbox

ASoC: adav80x: Remove .read_flag_mask setting from adav80x_regmap_config

Message ID 1439546047.5150.1.camel@ingics.com (mailing list archive)
State Accepted
Commit 9d8352864907f0ad76124c5b28f65b5a382d7d7c
Headers show

Commit Message

Axel Lin Aug. 14, 2015, 9:54 a.m. UTC
Don't set .read_flag_mask for adav803, it's for adav801 only.

Fixes: 0c2d69645628 ("ASoC: adav80x: Split SPI and I2C code into different modules")
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 sound/soc/codecs/adav80x.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Lars-Peter Clausen Aug. 14, 2015, 10:31 a.m. UTC | #1
On 08/14/2015 11:54 AM, Axel Lin wrote:
> Don't set .read_flag_mask for adav803, it's for adav801 only.
> 
> Fixes: 0c2d69645628 ("ASoC: adav80x: Split SPI and I2C code into different modules")
> Signed-off-by: Axel Lin <axel.lin@ingics.com>

Acked-by: Lars-Peter Clausen <lars@metafoo.de>

Thanks.
diff mbox

Patch

diff --git a/sound/soc/codecs/adav80x.c b/sound/soc/codecs/adav80x.c
index 88fd37c..198c924 100644
--- a/sound/soc/codecs/adav80x.c
+++ b/sound/soc/codecs/adav80x.c
@@ -865,7 +865,6 @@  const struct regmap_config adav80x_regmap_config = {
 	.val_bits = 8,
 	.pad_bits = 1,
 	.reg_bits = 7,
-	.read_flag_mask = 0x01,
 
 	.max_register = ADAV80X_PLL_OUTE,