diff options
| author | Sakari Ailus <[email protected]> | 2023-10-23 10:26:34 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2023-11-23 17:47:07 +0000 |
| commit | 791765b426df4d2a1b1be0617c2c0bf2248bfaba (patch) | |
| tree | c2976a0fbb5fc75960d72c87b4265614f4fe445e /drivers/media/test-drivers/vimc/vimc-sensor.c | |
| parent | media: v4l: subdev: v4l2_subdev_state_get_format always returns format now (diff) | |
| download | kernel-791765b426df4d2a1b1be0617c2c0bf2248bfaba.tar.gz kernel-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 <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/test-drivers/vimc/vimc-sensor.c')
0 files changed, 0 insertions, 0 deletions
