summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2016-04-23 19:08:59 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-06-17 08:16:16 -0300
commitc6b013ab517b0ae09036d50f6b1684d9dbedf596 (patch)
treede8cd068c7b1bbdfdbad6f0c6b3c81e83f400270 /drivers/pci
parent0c1a41b50805464f397a334a6b2dd95ca6415f32 (diff)
downloadlinux-c6b013ab517b0ae09036d50f6b1684d9dbedf596.tar.bz2
[media] v4l: vsp1: Group DRM RPF parameters in a structure
The vsp1_du_atomic_update_ext() function takes 7 RPF configuration parameters, and more will likely be added later. This makes the code difficult to read and error-prone as multiple parameters have the same type. Make the API safer and easier to extend in the future by grouping all parameters in a structure. Use macro magic to ease the transition to the new function by allowing the old and new functions to be called using the same name. The macros and static inline wrapper will be removed as soon as the caller is updated. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions