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

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

Merge "msm: lmh_lite: Move LMH interrupt logs to debug level"

parents b56f87a4 9e6cd055
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -197,7 +197,7 @@ reset_exit:
	if (!lmh_data->intr_status_val) {
	if (!lmh_data->intr_status_val) {
		/* cancel the poll work after releasing the lock to avoid
		/* cancel the poll work after releasing the lock to avoid
		** deadlock situation */
		** deadlock situation */
		pr_info("Zero throttling. Re-enabling interrupt\n");
		pr_debug("Zero throttling. Re-enabling interrupt\n");
		cancel_delayed_work_sync(&lmh_data->poll_work);
		cancel_delayed_work_sync(&lmh_data->poll_work);
		enable_irq(lmh_data->irq_num);
		enable_irq(lmh_data->irq_num);
	}
	}
@@ -268,7 +268,7 @@ static void lmh_read_and_notify(struct lmh_driver_data *lmh_dat)
		val = lmh_sensor->last_read_value;
		val = lmh_sensor->last_read_value;
		if (val > 0 && !(lmh_dat->intr_status_val
		if (val > 0 && !(lmh_dat->intr_status_val
			& BIT(lmh_sensor->sensor_sw_id))) {
			& BIT(lmh_sensor->sensor_sw_id))) {
			pr_info("Sensor:[%s] interrupt triggered\n",
			pr_debug("Sensor:[%s] interrupt triggered\n",
				lmh_sensor->sensor_name);
				lmh_sensor->sensor_name);
			lmh_dat->intr_status_val
			lmh_dat->intr_status_val
			       |= BIT(lmh_sensor->sensor_sw_id);
			       |= BIT(lmh_sensor->sensor_sw_id);