Loading drivers/thermal/lmh_lite.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -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); } } Loading Loading @@ -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); Loading Loading
drivers/thermal/lmh_lite.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -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); } } Loading Loading @@ -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); Loading