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

Commit 9e6cd055 authored by Ram Chandrasekar's avatar Ram Chandrasekar
Browse files

msm: lmh_lite: Move LMH interrupt logs to debug level



Move the logs that give information about the LMH
interrupt and the LMH sensors to debug log level.

Change-Id: I69291334e05a16400174bbcbaf53ef1e848b2745
Signed-off-by: default avatarRam Chandrasekar <rkumbako@codeaurora.org>
parent f1a9f6d4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -197,7 +197,7 @@ reset_exit:
	if (!lmh_data->intr_status_val) {
		/* cancel the poll work after releasing the lock to avoid
		** 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);
		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;
		if (val > 0 && !(lmh_dat->intr_status_val
			& 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_dat->intr_status_val
			       |= BIT(lmh_sensor->sensor_sw_id);