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>
This commit is contained in:
parent
23b12cca62
commit
c3b0e4c033
1 changed files with 1 additions and 1 deletions
|
@ -2699,7 +2699,7 @@ int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num)
|
||||||
rtd->ops.close = soc_pcm_close;
|
rtd->ops.close = soc_pcm_close;
|
||||||
rtd->ops.pointer = soc_pcm_pointer;
|
rtd->ops.pointer = soc_pcm_pointer;
|
||||||
rtd->ops.ioctl = soc_pcm_ioctl;
|
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) {
|
if (platform->driver->ops) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue