aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLad Prabhakar <[email protected]>2022-01-11 01:23:13 +0100
committerMauro Carvalho Chehab <[email protected]>2022-01-28 11:42:11 +0100
commit3364c5260da86c3fe35b50e4a89720c87d8bdf89 (patch)
treef1e71c92f1cb78abcc502e1de8a0d40a8cbaa617 /tools/perf/scripts/python/export-to-postgresql.py
parentd5e438902ea3dac4b2ab2334f63cfdf78c9ef3c1 (diff)
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 <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions