* [PATCH] ASoC: Remove redundant hw_write initialisation in WM8737
@ 2010-11-26 12:01 Mark Brown
2010-11-26 12:26 ` Liam Girdwood
0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2010-11-26 12:01 UTC (permalink / raw)
To: Liam Girdwood; +Cc: alsa-devel, Mark Brown
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
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 2301338..30c67d0 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)
struct wm8737_priv *wm8737 = snd_soc_codec_get_drvdata(codec);
int ret, i;
- codec->hw_write = (hw_write_t)i2c_master_send;
ret = snd_soc_codec_set_cache_io(codec, 7, 9, wm8737->control_type);
if (ret != 0) {
dev_err(codec->dev, "Failed to set cache I/O: %d\n", ret);
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ASoC: Remove redundant hw_write initialisation in WM8737
2010-11-26 12:01 [PATCH] ASoC: Remove redundant hw_write initialisation in WM8737 Mark Brown
@ 2010-11-26 12:26 ` Liam Girdwood
0 siblings, 0 replies; 2+ messages in thread
From: Liam Girdwood @ 2010-11-26 12:26 UTC (permalink / raw)
To: Mark Brown; +Cc: alsa-devel
On Fri, 2010-11-26 at 12:01 +0000, Mark Brown wrote:
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> ---
> 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 2301338..30c67d0 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)
> struct wm8737_priv *wm8737 = snd_soc_codec_get_drvdata(codec);
> int ret, i;
>
> - codec->hw_write = (hw_write_t)i2c_master_send;
> ret = snd_soc_codec_set_cache_io(codec, 7, 9, wm8737->control_type);
> if (ret != 0) {
> dev_err(codec->dev, "Failed to set cache I/O: %d\n", ret);
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-11-26 12:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-26 12:01 [PATCH] ASoC: Remove redundant hw_write initialisation in WM8737 Mark Brown
2010-11-26 12:26 ` Liam Girdwood
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.