]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita2e2602757becd070c8bc929aa89ff413b5b215d
tree4d6dc8c39aa934f280bb930873e99ac3b1a2b5bb
parente45067fe881d7f0e5a3ad21b7f17535f690d70dc
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