Skip to content

Commit 639065c

Browse files
Jacopo MondiHans Verkuil
authored andcommitted
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: c6c49ba ("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]>
1 parent f5cee94 commit 639065c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/uapi/linux/media/raspberrypi/pisp_be_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,9 +919,9 @@ struct pisp_tile {
919919
* @config: PiSP Back End configuration
920920
*/
921921
struct pisp_be_tiles_config {
922+
struct pisp_be_config config;
922923
struct pisp_tile tiles[PISP_BACK_END_NUM_TILES];
923924
__u32 num_tiles;
924-
struct pisp_be_config config;
925925
} __attribute__((packed));
926926

927927
#endif /* _UAPI_PISP_BE_CONFIG_H_ */

0 commit comments

Comments
 (0)