Loading drivers/media/platform/msm/camera_v2/jpeg_10/msm_jpeg_hw.c +2 −2 Original line number Diff line number Diff line /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. /* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -328,7 +328,7 @@ void msm_jpeg_hw_delay(struct msm_jpeg_hw_cmd *hw_cmd_p, int m_us) int msm_jpeg_hw_exec_cmds(struct msm_jpeg_hw_cmd *hw_cmd_p, uint32_t m_cmds, uint32_t max_size, void *base) { int is_copy_to_user = -1; int is_copy_to_user = 0; uint32_t data; while (m_cmds--) { Loading drivers/media/platform/msm/camera_v2/jpeg_10/msm_jpeg_sync.c +3 −0 Original line number Diff line number Diff line Loading @@ -722,6 +722,9 @@ int msm_jpeg_ioctl_hw_cmds(struct msm_jpeg_device *pgmn_dev, kfree(hw_cmds_p); return -EFAULT; } } else { kfree(hw_cmds_p); return is_copy_to_user; } kfree(hw_cmds_p); return 0; Loading Loading
drivers/media/platform/msm/camera_v2/jpeg_10/msm_jpeg_hw.c +2 −2 Original line number Diff line number Diff line /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. /* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -328,7 +328,7 @@ void msm_jpeg_hw_delay(struct msm_jpeg_hw_cmd *hw_cmd_p, int m_us) int msm_jpeg_hw_exec_cmds(struct msm_jpeg_hw_cmd *hw_cmd_p, uint32_t m_cmds, uint32_t max_size, void *base) { int is_copy_to_user = -1; int is_copy_to_user = 0; uint32_t data; while (m_cmds--) { Loading
drivers/media/platform/msm/camera_v2/jpeg_10/msm_jpeg_sync.c +3 −0 Original line number Diff line number Diff line Loading @@ -722,6 +722,9 @@ int msm_jpeg_ioctl_hw_cmds(struct msm_jpeg_device *pgmn_dev, kfree(hw_cmds_p); return -EFAULT; } } else { kfree(hw_cmds_p); return is_copy_to_user; } kfree(hw_cmds_p); return 0; Loading