diff mbox

ASoC: rt5645:Mark RT5645_TDM_CTRL_3 as readable

Message ID 1414532196-34611-1-git-send-email-yang.a.fang@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

yang.a.fang@intel.com Oct. 28, 2014, 9:36 p.m. UTC
From: "Fang, Yang A" <yang.a.fang@intel.com>

amixer query fails due to it is not readable reigster

Signed-off-by: Fang, Yang A <yang.a.fang@intel.com>
---
 sound/soc/codecs/rt5645.c |    2 ++
 1 file changed, 2 insertions(+)

Comments

Bard Liao Oct. 29, 2014, 1:47 a.m. UTC | #1
> -----Original Message-----
> From: yang.a.fang@intel.com [mailto:yang.a.fang@intel.com]
> Sent: Wednesday, October 29, 2014 5:37 AM
> To: broonie@kernel.org; lgirdwood@gmail.com
> Cc: alsa-devel@alsa-project.org; Bard Liao; Fang, Yang A
> Subject: [PATCH] ASoC: rt5645:Mark RT5645_TDM_CTRL_3 as readable
> 
> From: "Fang, Yang A" <yang.a.fang@intel.com>
> 
> amixer query fails due to it is not readable reigster
> 
> Signed-off-by: Fang, Yang A <yang.a.fang@intel.com>

Acked-by: Bard Liao <bardliao@realtek.com>

> ------Please consider the environment before printing this e-mail.
Mark Brown Oct. 29, 2014, 10:58 a.m. UTC | #2
On Tue, Oct 28, 2014 at 06:36:36PM -0300, yang.a.fang@intel.com wrote:
> From: "Fang, Yang A" <yang.a.fang@intel.com>
> 
> amixer query fails due to it is not readable reigster

Applied, thanks.
diff mbox

Patch

diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
index 3fb83bf..d16331e 100644
--- a/sound/soc/codecs/rt5645.c
+++ b/sound/soc/codecs/rt5645.c
@@ -139,6 +139,7 @@  static const struct reg_default rt5645_reg[] = {
 	{ 0x76, 0x000a },
 	{ 0x77, 0x0c00 },
 	{ 0x78, 0x0000 },
+	{ 0x79, 0x0123 },
 	{ 0x80, 0x0000 },
 	{ 0x81, 0x0000 },
 	{ 0x82, 0x0000 },
@@ -334,6 +335,7 @@  static bool rt5645_readable_register(struct device *dev, unsigned int reg)
 	case RT5645_DMIC_CTRL2:
 	case RT5645_TDM_CTRL_1:
 	case RT5645_TDM_CTRL_2:
+	case RT5645_TDM_CTRL_3:
 	case RT5645_GLB_CLK:
 	case RT5645_PLL_CTRL1:
 	case RT5645_PLL_CTRL2: