Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ecdeebe1 authored by Aditya Jonnalagadda's avatar Aditya Jonnalagadda
Browse files

msm: camera: Add error logging for sof freeze



Add log in kernel to know when there is a
potential sof freeze.

Change-Id: Ibd43e0e820a423608862f845a9d4a5e34ee11f49
Signed-off-by: default avatarAditya Jonnalagadda <ajonnala@codeaurora.org>
parent 2943afb1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
/* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2015, 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
@@ -628,6 +628,7 @@ static long msm_private_ioctl(struct file *file, void *fh,
		break;

	case MSM_CAM_V4L2_IOCTL_NOTIFY_FREEZE: {
		pr_err("Notifying subdevs about potential sof freeze\n");
		if (!list_empty(&msm_v4l2_dev->subdevs)) {
			list_for_each_entry(msm_sd, &ordered_sd_list, list)
				__msm_sd_notify_freeze_subdevs(msm_sd);