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

Commit a18f488c authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Revert "msm: wfd: Restart hrtimer after forwarding it""

parents 811d3b14 f51ce0e6
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -26,12 +26,6 @@
#define TICKS_PER_TIMEOUT 2


static void vsg_reset_timer(struct hrtimer *timer, ktime_t time)
{
	hrtimer_forward_now(timer, time);
	hrtimer_restart(timer);
}

static int vsg_release_input_buffer(struct vsg_context *context,
		struct vsg_buf_info *buf)
{
@@ -467,7 +461,7 @@ static long vsg_queue_buffer(struct v4l2_subdev *sd, void *arg)
			 * otherwise, diff between two consecutive frames might
			 * be less than max_frame_interval (for just one sample)
			 */
			vsg_reset_timer(&context->threshold_timer,
			hrtimer_forward_now(&context->threshold_timer,
				ns_to_ktime(context->max_frame_interval));
		}
	}