ASoC: max98925: Remove control_data initialization
PATCH 1/1 ASoC: max98925: Remove control_data initialization
The control_data field of the snd_soc_codec struct is no longer used by ASoC drivers using standard regmap IO.
There is no need to initialize the field to point to the drivers regmap struct, so drop that.
--- sound/soc/codecs/max98925.c | 1 - 1 file changed, 1 deletion(-)
sound/soc/codecs/max98925.c +0 -1
@@ -523,7 +523,6 @@ static int max98925_probe(struct snd_soc_codec *codec)struct max98925_priv *max98925 =snd_soc_codec_get_drvdata (codec); max98925->codec = codec; - codec->control_data = max98925->regmap;regmap_write (max98925->regmap,MAX98925_GLOBAL_ENABLE ,0x00 );/* It's not the default but we need to set DAI_DLY */ regmap_write(max98925->regmap,
Signature · 1 line
2.1.4
Mark Brown
maintainerApplied "ASoC: max98925: Remove control_data initialization" to the asoc tree
The patch
ASoC: max98925: Remove control_data initialization
has been applied to the asoc tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
f6d1a814844efc4b326538bd35a8daecd37921edMon Sep 17 00:00:00 2001
From: Lars-Peter Clausen <[email protected]>
Date: Mon, 13 Jul 2015 19:40:52 +0200
Subject: [PATCH] ASoC: max98925: Remove control_data initialization
The control_data field of the snd_soc_codec struct is no longer used by ASoC drivers using standard regmap IO.
There is no need to initialize the field to point to the drivers regmap struct, so drop that.
--- sound/soc/codecs/max98925.c | 1 - 1 file changed, 1 deletion(-)
sound/soc/codecs/max98925.c +0 -1
@@ -523,7 +523,6 @@ static int max98925_probe(struct snd_soc_codec *codec)struct max98925_priv *max98925 =snd_soc_codec_get_drvdata (codec); max98925->codec = codec; - codec->control_data = max98925->regmap;regmap_write (max98925->regmap,MAX98925_GLOBAL_ENABLE ,0x00 );/* It's not the default but we need to set DAI_DLY */ regmap_write(max98925->regmap,
Signature · 1 line
2.1.4