You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[media] s5p-fimc: Allow defining number of sensors at runtime
Add num_clients field to struct s5p_fimc_isp_info to define exactly size of clients array which simplifies a bit the sensors management. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
4ecbf5d1d2
commit
117182d183
@@ -46,15 +46,14 @@ struct s5p_fimc_isp_info {
|
||||
u16 flags;
|
||||
};
|
||||
|
||||
|
||||
#define FIMC_MAX_CAMIF_CLIENTS 2
|
||||
|
||||
/**
|
||||
* struct s5p_platform_fimc - camera host interface platform data
|
||||
*
|
||||
* @isp_info: properties of camera sensor required for host interface setup
|
||||
* @num_clients: the number of attached image sensors
|
||||
*/
|
||||
struct s5p_platform_fimc {
|
||||
struct s5p_fimc_isp_info *isp_info[FIMC_MAX_CAMIF_CLIENTS];
|
||||
struct s5p_fimc_isp_info *isp_info;
|
||||
int num_clients;
|
||||
};
|
||||
#endif /* S5P_FIMC_H_ */
|
||||
|
||||
Reference in New Issue
Block a user