Loading drivers/media/platform/msm/camera_v2/msm.c +3 −1 Original line number Diff line number Diff line /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2012-2018,2020 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 @@ -236,6 +236,8 @@ static inline void msm_pm_qos_add_request(void) static void msm_pm_qos_remove_request(void) { pr_info("%s: remove request", __func__); if (!atomic_cmpxchg(&qos_add_request_done, 1, 0)) return; pm_qos_remove_request(&msm_v4l2_pm_qos_request); } Loading Loading
drivers/media/platform/msm/camera_v2/msm.c +3 −1 Original line number Diff line number Diff line /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2012-2018,2020 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 @@ -236,6 +236,8 @@ static inline void msm_pm_qos_add_request(void) static void msm_pm_qos_remove_request(void) { pr_info("%s: remove request", __func__); if (!atomic_cmpxchg(&qos_add_request_done, 1, 0)) return; pm_qos_remove_request(&msm_v4l2_pm_qos_request); } Loading