summaryrefslogtreecommitdiff
path: root/sound/soc/soc-pcm.c
diff options
context:
space:
mode:
authorGopikrishnaiah Anandan <agopik@codeaurora.org>2014-07-01 22:51:04 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:10:01 -0700
commitc3b0e4c033a0e4e0d655aa3e9ef4623ee11f5736 (patch)
tree225aadc1b99cce798dc996a46048ad04f592e3f7 /sound/soc/soc-pcm.c
parent23b12cca62af5cf3f3480f76d4b20debc9cc7995 (diff)
ASoC: pcm: Fix the compat pointer assignment
Compat ioctl pointer is assigned to ioctl field instead of compat_ioctl member variable. Change updates the assignment. CRs-fixed: 688027 Change-Id: I248e3225493f0ceafcb5e70ce0ff827ab77c7a74 Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Diffstat (limited to 'sound/soc/soc-pcm.c')
-rw-r--r--sound/soc/soc-pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c
index 92188446e779..295184565d1f 100644
--- a/sound/soc/soc-pcm.c
+++ b/sound/soc/soc-pcm.c
@@ -2699,7 +2699,7 @@ int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num)
rtd->ops.close = soc_pcm_close;
rtd->ops.pointer = soc_pcm_pointer;
rtd->ops.ioctl = soc_pcm_ioctl;
- rtd->ops.ioctl = soc_pcm_compat_ioctl;
+ rtd->ops.compat_ioctl = soc_pcm_compat_ioctl;
}
if (platform->driver->ops) {