]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
media: mx2_emmaprp: Check for platform_get_irq() error
authorFabio Estevam <fabio.estevam@nxp.com>
Thu, 17 Aug 2017 21:12:05 +0000 (17:12 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 27 Aug 2017 11:50:48 +0000 (07:50 -0400)
commitd4e192cc44914787cfe1231e2f1f9d0e8855f77b
treef6ec891eb7e748530f094ea9aab72741b7ee8ae0
parent3cdb977ec878b23eb6e3380d262985b6a7c93c54
media: mx2_emmaprp: Check for platform_get_irq() error

platform_get_irq() may fail, so we should better check its return
value and propagate it in the case of error.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/mx2_emmaprp.c