Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2170a18 authored by Vignesh Kulothungan's avatar Vignesh Kulothungan
Browse files

ASoC: create wsa883x codec entry in proc fs



Create a WSA883x codec entry with variant and version info
for each of available wsa883x devices in proc file system.

Change-Id: I0656a947a735abc0a00aa1dcbfc57ce00f653e13
Signed-off-by: default avatarVignesh Kulothungan <vigneshk@codeaurora.org>
parent 1b0ebc41
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -7167,7 +7167,8 @@ static int msm_int_audrx_init(struct snd_soc_pcm_runtime *rtd)
			snd_soc_dapm_ignore_suspend(dapm, "spkrLeft SPKR");
		}

		/*TODO: create codec entry for wsa1 */
		wsa883x_codec_info_create_codec_entry(pdata->codec_root,
							component);
	}

        /* If current platform has more than one WSA */
@@ -7189,7 +7190,8 @@ static int msm_int_audrx_init(struct snd_soc_pcm_runtime *rtd)
			snd_soc_dapm_ignore_suspend(dapm, "spkrRight SPKR");
		}

		/*TODO: create codec entry for wsa2 */
		wsa883x_codec_info_create_codec_entry(pdata->codec_root,
							component);
	}

	component = snd_soc_rtdcom_lookup(rtd, "bolero_codec");