OSDN Git Service

media: atomisp: don't produce errs for ignored IRQs
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 20 May 2020 06:46:17 +0000 (08:46 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 20 May 2020 13:02:58 +0000 (15:02 +0200)
commit58d6ccc264ed527377434e53ffadfdebed6cf915
tree4d6dc8c39aa934f280bb930873e99ac3b1a2b5bb
parentcf3cd3b05ea9ea09d96cbb7d1cd914e7d7db4b77
media: atomisp: don't produce errs for ignored IRQs

Depending on the ISP-specific HAS_NO_INPUT_FORMATTER macro,
some IRQs will be ignored by the driver. Yet, those keep
happening, as reported by this debug print:

[   61.620746] atomisp-isp2 0000:00:03.0: atomisp_css_irq_enable: css irq info 0x00000004: disable.

Causing this warning:
[   61.620749] atomisp-isp2 0000:00:03.0: atomisp_css_irq_enable:Invalid irq info.

Well, if this is a normal situation, just ignore it without
warnings.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/sh_css.c