]> Git Repo - linux.git/commitdiff
media: uapi: pisp_be_config: Re-sort pisp_be_tiles_config
authorJacopo Mondi <[email protected]>
Fri, 28 Jun 2024 13:29:45 +0000 (15:29 +0200)
committerHans Verkuil <[email protected]>
Fri, 12 Jul 2024 08:11:43 +0000 (10:11 +0200)
The order of the members of pisp_be_tiles_config is relevant
as the driver logic assumes 'config' to be at offset 0.

Re-sort the member to match the driver's expectations.

Fixes: c6c49bac8770 ("media: uapi: Add Raspberry Pi PiSP Back End uAPI")
Signed-off-by: Jacopo Mondi <[email protected]>
Acked-by: Naushir Patuck <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
include/uapi/linux/media/raspberrypi/pisp_be_config.h

index 27d0cc417d6bbfef4a9add766f077dff0cae28f1..f8650ca92bf895cdd87b5886361fe54c16aaf995 100644 (file)
@@ -919,9 +919,9 @@ struct pisp_tile {
  * @config:    PiSP Back End configuration
  */
 struct pisp_be_tiles_config {
+       struct pisp_be_config config;
        struct pisp_tile tiles[PISP_BACK_END_NUM_TILES];
        __u32 num_tiles;
-       struct pisp_be_config config;
 } __attribute__((packed));
 
 #endif /* _UAPI_PISP_BE_CONFIG_H_ */
This page took 0.059249 seconds and 4 git commands to generate.