Commit 639065c6 authored by Jacopo Mondi's avatar Jacopo Mondi Committed by Hans Verkuil

media: uapi: pisp_be_config: Re-sort pisp_be_tiles_config

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: c6c49bac ("media: uapi: Add Raspberry Pi PiSP Back End uAPI")
Signed-off-by: default avatarJacopo Mondi <jacopo.mondi@ideasonboard.com>
Acked-by: default avatarNaushir Patuck <naush@raspberrypi.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
parent f5cee94f
......@@ -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_ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment