Commit 71e303f5 authored by Eduardo Valentin's avatar Eduardo Valentin Committed by Greg Kroah-Hartman

staging: omap-thermal: add IRQ debugging messaging

For debugging purposes, print the IRQ event for the domain being processed.
Signed-off-by: default avatarEnric Balletbo i Serra <eballetbo@gmail.com>
Signed-off-by: default avatarEduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5035d48d
...@@ -113,6 +113,11 @@ static irqreturn_t talert_irq_handler(int irq, void *data) ...@@ -113,6 +113,11 @@ static irqreturn_t talert_irq_handler(int irq, void *data)
omap_bandgap_writel(bg_ptr, ctrl, tsr->bgap_mask_ctrl); omap_bandgap_writel(bg_ptr, ctrl, tsr->bgap_mask_ctrl);
dev_dbg(bg_ptr->dev,
"%s: IRQ from %s sensor: hotevent %d coldevent %d\n",
__func__, bg_ptr->conf->sensors[i].domain,
t_hot, t_cold);
/* read temperature */ /* read temperature */
temp = omap_bandgap_readl(bg_ptr, tsr->temp_sensor_ctrl); temp = omap_bandgap_readl(bg_ptr, tsr->temp_sensor_ctrl);
temp &= tsr->bgap_dtemp_mask; temp &= tsr->bgap_dtemp_mask;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment