diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-05-20 08:37:08 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-05-20 15:02:58 +0200 |
commit | cf3cd3b05ea9ea09d96cbb7d1cd914e7d7db4b77 (patch) | |
tree | 1c19e5e1a13ab2a40b816a87b2e215982176ca3b | |
parent | 1985e93802d271bd658833585fffb896c4976910 (diff) |
media: atomisp: print IRQ when debugging
Add a debug printk to show what IRQ is popping up.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
-rw-r--r-- | drivers/staging/media/atomisp/pci/atomisp_compat_css20.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/media/atomisp/pci/atomisp_compat_css20.c b/drivers/staging/media/atomisp/pci/atomisp_compat_css20.c index abc0fd91781a..209bc9954a53 100644 --- a/drivers/staging/media/atomisp/pci/atomisp_compat_css20.c +++ b/drivers/staging/media/atomisp/pci/atomisp_compat_css20.c @@ -1040,6 +1040,9 @@ void atomisp_css_rx_clear_irq_info(enum mipi_port_id port, int atomisp_css_irq_enable(struct atomisp_device *isp, enum atomisp_css_irq_info info, bool enable) { + dev_dbg(isp->dev, "%s: css irq info 0x%08x: %s.\n", + __func__, info, + enable ? "enable" : "disable"); if (ia_css_irq_enable(info, enable) != IA_CSS_SUCCESS) { dev_warn(isp->dev, "%s:Invalid irq info.\n", __func__); return -EINVAL; |