diff options
author | Eduardo Valentin <eduardo.valentin@ti.com> | 2012-11-13 14:10:03 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-13 15:08:31 -0800 |
commit | 71e303f5b87e821a702e5a17b26f61ab329737e4 (patch) | |
tree | f43a7bc66805d9e87feaebca391f89a142102b15 /drivers/staging/omap-thermal | |
parent | 5035d48dd02f982b3034ba755d5c4d153b2fc6df (diff) | |
download | op-kernel-dev-71e303f5b87e821a702e5a17b26f61ab329737e4.zip op-kernel-dev-71e303f5b87e821a702e5a17b26f61ab329737e4.tar.gz |
staging: omap-thermal: add IRQ debugging messaging
For debugging purposes, print the IRQ event for the domain being processed.
Signed-off-by: Enric Balletbo i Serra <eballetbo@gmail.com>
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/omap-thermal')
-rw-r--r-- | drivers/staging/omap-thermal/omap-bandgap.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/staging/omap-thermal/omap-bandgap.c b/drivers/staging/omap-thermal/omap-bandgap.c index 1cae5ed..3eb726f 100644 --- a/drivers/staging/omap-thermal/omap-bandgap.c +++ b/drivers/staging/omap-thermal/omap-bandgap.c @@ -113,6 +113,11 @@ static irqreturn_t talert_irq_handler(int irq, void *data) 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 */ temp = omap_bandgap_readl(bg_ptr, tsr->temp_sensor_ctrl); temp &= tsr->bgap_dtemp_mask; |