From c1d85582e6dc5a2ee3d7b0a7d3ccd41e94b5f313 Mon Sep 17 00:00:00 2001 From: Dimitris Papastamos Date: Tue, 7 Dec 2010 16:30:38 +0000 Subject: [PATCH] --- yaml --- r: 230358 b: refs/heads/master c: e4f078d8c0790e94e09af975ca0b870e2f050e17 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/soc/soc-core.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 7e717da121b7..a843c8669470 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5a4cfce73b7b48bdbb4e816124e5fcf84bc58e59 +refs/heads/master: e4f078d8c0790e94e09af975ca0b870e2f050e17 diff --git a/trunk/sound/soc/soc-core.c b/trunk/sound/soc/soc-core.c index b4c8c3800503..a14a0507bbd0 100644 --- a/trunk/sound/soc/soc-core.c +++ b/trunk/sound/soc/soc-core.c @@ -117,7 +117,7 @@ static ssize_t soc_codec_reg_show(struct snd_soc_codec *codec, char *buf) * the register being volatile and the device being * powered off. */ - ret = codec->driver->read(codec, i); + ret = snd_soc_read(codec, i); if (ret >= 0) count += snprintf(buf + count, PAGE_SIZE - count, @@ -228,7 +228,7 @@ static ssize_t codec_reg_write_file(struct file *file, start++; if (strict_strtoul(start, 16, &value)) return -EINVAL; - codec->driver->write(codec, reg, value); + snd_soc_write(codec, reg, value); return buf_size; }