diff options
Diffstat (limited to 'sound/soc/codecs/wm8737.c')
-rw-r--r-- | sound/soc/codecs/wm8737.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8737.c b/sound/soc/codecs/wm8737.c index 2301338cb2c9..30c67d06a904 100644 --- a/sound/soc/codecs/wm8737.c +++ b/sound/soc/codecs/wm8737.c | |||
@@ -560,7 +560,6 @@ static int wm8737_probe(struct snd_soc_codec *codec) | |||
560 | struct wm8737_priv *wm8737 = snd_soc_codec_get_drvdata(codec); | 560 | struct wm8737_priv *wm8737 = snd_soc_codec_get_drvdata(codec); |
561 | int ret, i; | 561 | int ret, i; |
562 | 562 | ||
563 | codec->hw_write = (hw_write_t)i2c_master_send; | ||
564 | ret = snd_soc_codec_set_cache_io(codec, 7, 9, wm8737->control_type); | 563 | ret = snd_soc_codec_set_cache_io(codec, 7, 9, wm8737->control_type); |
565 | if (ret != 0) { | 564 | if (ret != 0) { |
566 | dev_err(codec->dev, "Failed to set cache I/O: %d\n", ret); | 565 | dev_err(codec->dev, "Failed to set cache I/O: %d\n", ret); |