Loading arch/arm/mach-msm/qdsp5/audio_in.c +2 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ * * Copyright (C) 2008 Google, Inc. * Copyright (C) 2008 HTC Corporation * Copyright (c) 2009, The Linux Foundation. All rights reserved. * Copyright (c) 2009,2013 The Linux Foundation. All rights reserved. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and Loading Loading @@ -571,6 +571,7 @@ static long audio_in_ioctl(struct file *file, if (cmd == AUDIO_GET_STATS) { struct msm_audio_stats stats; memset(&stats, 0, sizeof(stats)); stats.byte_count = atomic_read(&audio->in_bytes); if (copy_to_user((void *) arg, &stats, sizeof(stats))) return -EFAULT; Loading Loading
arch/arm/mach-msm/qdsp5/audio_in.c +2 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ * * Copyright (C) 2008 Google, Inc. * Copyright (C) 2008 HTC Corporation * Copyright (c) 2009, The Linux Foundation. All rights reserved. * Copyright (c) 2009,2013 The Linux Foundation. All rights reserved. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and Loading Loading @@ -571,6 +571,7 @@ static long audio_in_ioctl(struct file *file, if (cmd == AUDIO_GET_STATS) { struct msm_audio_stats stats; memset(&stats, 0, sizeof(stats)); stats.byte_count = atomic_read(&audio->in_bytes); if (copy_to_user((void *) arg, &stats, sizeof(stats))) return -EFAULT; Loading