From: Peter Ujfalusi Date: Mon, 12 Mar 2018 14:24:22 +0000 (+0200) Subject: ASoC: twl6040: Add back missing write callback X-Git-Tag: v4.17-rc1~119^2~1^2~11^3~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c9d066650cd5adf4ed4bf5734386699e765222b7;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c index 9bf23f8e71629..b56a6471f9c43 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,