summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2018-03-12 17:24:22 +0300
committerMark Brown <broonie@kernel.org>2018-03-12 19:37:11 +0300
commitc9d066650cd5adf4ed4bf5734386699e765222b7 (patch)
treeaa030bc2ec0da43e9924e5339cbf3e68a0ee3d8a /sound
parent7480389fb0d873ed78619542bf5d2717a7ad7786 (diff)
downloadlinux-c9d066650cd5adf4ed4bf5734386699e765222b7.tar.xz
ASoC: twl6040: Add back missing write callback
We need to have the write callback to use the code. Fixes: 7480389fb0d8 ("ASoC: twl6040: replace codec to component") Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/twl6040.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c
index 9bf23f8e7162..b56a6471f9c4 100644
--- a/sound/soc/codecs/twl6040.c
+++ b/sound/soc/codecs/twl6040.c
@@ -1157,6 +1157,7 @@ static const struct snd_soc_component_driver soc_component_dev_twl6040 = {
.probe = twl6040_probe,
.remove = twl6040_remove,
.read = twl6040_read,
+ .write = twl6040_write,
.remove = twl6040_remove,
.set_bias_level = twl6040_set_bias_level,
.controls = twl6040_snd_controls,