summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>2022-01-11 01:23:13 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-01-28 11:42:11 +0100
commit3364c5260da86c3fe35b50e4a89720c87d8bdf89 (patch)
treef1e71c92f1cb78abcc502e1de8a0d40a8cbaa617 /tools/perf/scripts/python/syscall-counts.py
parentd5e438902ea3dac4b2ab2334f63cfdf78c9ef3c1 (diff)
downloadlinux-3364c5260da86c3fe35b50e4a89720c87d8bdf89.tar.gz
linux-3364c5260da86c3fe35b50e4a89720c87d8bdf89.zip
media: mtk-vpu: Drop unnecessary call to platform_get_resource()
mtk_vpu_probe() calls platform_get_resource(pdev, IORESOURCE_IRQ, ..) to check if IRQ resource exists and later calls platform_get_irq(pdev, ..) to get the actual IRQ. This patch drops an unnecessary call to platform_get_resource() and checks the return value of platform_get_irq(pdev, ..) to make sure the IRQ line is valid. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions