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

Commit 4f98b2a1 authored by Channagoud Kadabi's avatar Channagoud Kadabi Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: codecs: move kcontrols out of codec driver structure" into msm-4.8

parents eafd71a5 af472119
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -432,8 +432,10 @@ static struct snd_soc_dai_driver msm_ext_disp_audio_codec_rx_dais[] = {
static struct snd_soc_codec_driver msm_ext_disp_audio_codec_rx_soc_driver = {
	.probe = msm_ext_disp_audio_codec_rx_probe,
	.remove =  msm_ext_disp_audio_codec_rx_remove,
	.component_driver = {
		.controls = msm_ext_disp_codec_rx_controls,
		.num_controls = ARRAY_SIZE(msm_ext_disp_codec_rx_controls),
	},
};

static int msm_ext_disp_audio_codec_rx_plat_probe(
+2 −2
Original line number Diff line number Diff line
@@ -9011,12 +9011,12 @@ static struct regmap *tomtom_get_regmap(struct device *dev)
}

static struct snd_soc_codec_driver soc_codec_dev_tomtom = {
	.controls = tomtom_snd_controls,
	.num_controls = ARRAY_SIZE(tomtom_snd_controls),
	.get_regmap = tomtom_get_regmap,
	.component_driver = {
		.probe = tomtom_codec_probe,
		.remove = tomtom_codec_remove,
		.controls = tomtom_snd_controls,
		.num_controls = ARRAY_SIZE(tomtom_snd_controls),
		.dapm_widgets = tomtom_dapm_widgets,
		.num_dapm_widgets = ARRAY_SIZE(tomtom_dapm_widgets),
		.dapm_routes = audio_map,
+2 −2
Original line number Diff line number Diff line
@@ -13767,12 +13767,12 @@ static struct regmap *tasha_get_regmap(struct device *dev)
}

static struct snd_soc_codec_driver soc_codec_dev_tasha = {
	.controls = tasha_snd_controls,
	.num_controls = ARRAY_SIZE(tasha_snd_controls),
	.get_regmap = tasha_get_regmap,
	.component_driver = {
		.probe = tasha_codec_probe,
		.remove = tasha_codec_remove,
		.controls = tasha_snd_controls,
		.num_controls = ARRAY_SIZE(tasha_snd_controls),
		.dapm_widgets = tasha_dapm_widgets,
		.num_dapm_widgets = ARRAY_SIZE(tasha_dapm_widgets),
		.dapm_routes = audio_map,
+2 −2
Original line number Diff line number Diff line
@@ -9058,12 +9058,12 @@ static struct regmap *tavil_get_regmap(struct device *dev)
}

static struct snd_soc_codec_driver soc_codec_dev_tavil = {
	.controls = tavil_snd_controls,
	.num_controls = ARRAY_SIZE(tavil_snd_controls),
	.get_regmap = tavil_get_regmap,
	.component_driver = {
		.probe = tavil_soc_codec_probe,
		.remove = tavil_soc_codec_remove,
		.controls = tavil_snd_controls,
		.num_controls = ARRAY_SIZE(tavil_snd_controls),
		.dapm_widgets = tavil_dapm_widgets,
		.num_dapm_widgets = ARRAY_SIZE(tavil_dapm_widgets),
		.dapm_routes = tavil_audio_map,
+2 −3
Original line number Diff line number Diff line
@@ -1095,13 +1095,12 @@ static struct snd_soc_codec_driver soc_codec_dev_wsa881x = {
	.reg_cache_default = wsa881x_ana_reg_defaults,
	.reg_word_size = 1,

	.controls = wsa881x_snd_controls,
	.num_controls = ARRAY_SIZE(wsa881x_snd_controls),

	.component_driver = {
		.probe	= wsa881x_probe,
		.remove	= wsa881x_remove,

		.controls = wsa881x_snd_controls,
		.num_controls = ARRAY_SIZE(wsa881x_snd_controls),
		.dapm_widgets = wsa881x_dapm_widgets,
		.num_dapm_widgets = ARRAY_SIZE(wsa881x_dapm_widgets),
		.dapm_routes = wsa881x_audio_map,
Loading