diff options
| author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2023-10-23 12:26:34 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-11-23 18:47:07 +0100 |
| commit | 791765b426df4d2a1b1be0617c2c0bf2248bfaba (patch) | |
| tree | c2976a0fbb5fc75960d72c87b4265614f4fe445e /drivers/media/platform/renesas/rcar-isp.c | |
| parent | 8824170e95d72d7583bd8e897246685d3856455a (diff) | |
| download | linux-791765b426df4d2a1b1be0617c2c0bf2248bfaba.tar.gz linux-791765b426df4d2a1b1be0617c2c0bf2248bfaba.tar.bz2 linux-791765b426df4d2a1b1be0617c2c0bf2248bfaba.zip | |
media: v4l: subdev: Make stream argument optional in state access functions
The sub-device state access functions take three arguments: sub-device
state, pad and stream. The stream is not relevant for the majority of
drivers and having to specify 0 for the stream is considered a nuisance.
Provide a two-argument macros for these state access functions to cover
the needs of stream-unaware users.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/platform/renesas/rcar-isp.c')
0 files changed, 0 insertions, 0 deletions
