diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2024-08-26 14:07:30 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2024-10-16 10:32:40 +0300 |
commit | 0c200daa5780f3d0ba6fff4b6bf9e4bb924fa5ca (patch) | |
tree | f3d5786fe39499860f8d7e8f4bbdc183e8e2179c /tools/perf/scripts/python | |
parent | 0d5c92cde4d38825eeadf5b4e1534350f80a9924 (diff) | |
download | linux-0c200daa5780f3d0ba6fff4b6bf9e4bb924fa5ca.tar.xz |
media: platform: rzg2l-cru: rzg2l-video: Move request_irq() to probe()
Move request_irq() to probe(), in order to avoid requesting IRQ during
device start which happens frequently. As this function is in probe(), it
is better to replace it with its devm variant for managing the resource
efficiently.
While at it, drop the IRQF_SHARED flag as currently there is a single user
for this IRQ.
Suggested-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions