ASoC: Intel: byt-max98090: Set card as fully routed
diff mbox

Message ID 1411719435-15317-1-git-send-email-jarkko.nikula@linux.intel.com
State Accepted
Commit 969168e2e9f4a5bfd6a49344f46b820437cd9163
Headers show

Commit Message

Jarkko Nikula Sept. 26, 2014, 8:17 a.m. UTC
All byt-max98090 audio connections are known and described in DAPM routing
table. Set the fully_routed flag in order to disable unused codec pins.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
---
 sound/soc/intel/byt-max98090.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Jarkko Nikula Sept. 26, 2014, 8:33 a.m. UTC | #1
On 09/26/2014 11:17 AM, Jarkko Nikula wrote:
> All byt-max98090 audio connections are known and described in DAPM routing
> table. Set the fully_routed flag in order to disable unused codec pins.
>
> Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
> ---
>   sound/soc/intel/byt-max98090.c | 1 +
>   1 file changed, 1 insertion(+)
>
Grr, please discard this. There is something missing from routing table 
since internal mic stopped working after my patch.

Patch
diff mbox

diff --git a/sound/soc/intel/byt-max98090.c b/sound/soc/intel/byt-max98090.c
index b8b8af571ef1..d52681e7225e 100644
--- a/sound/soc/intel/byt-max98090.c
+++ b/sound/soc/intel/byt-max98090.c
@@ -139,6 +139,7 @@  static struct snd_soc_card byt_max98090_card = {
 	.num_dapm_routes = ARRAY_SIZE(byt_max98090_audio_map),
 	.controls = byt_max98090_controls,
 	.num_controls = ARRAY_SIZE(byt_max98090_controls),
+	.fully_routed = true,
 };
 
 static int byt_max98090_probe(struct platform_device *pdev)