diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-05-10 14:39:18 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-05-20 15:51:28 +0300 |
commit | 85df8457b31c4c277f59b80c1e2a636d34f0c8ce (patch) | |
tree | 623358fed921f950b7fd65406fc21ba9dfafb07e /drivers/staging/media/atomisp/include | |
parent | 0d64e9420583cbc3c4a3f949ebe38fd8f7769281 (diff) | |
download | linux-85df8457b31c4c277f59b80c1e2a636d34f0c8ce.tar.xz |
media: atomisp: better display DMI and EFI found entries
There are several device-specific data that are obtained
either via DMI or EFI, with changes the driver's behavior.
Display what has been detected, as such info may help
identifying troubles at the driver.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/staging/media/atomisp/include')
-rw-r--r-- | drivers/staging/media/atomisp/include/linux/atomisp_gmin_platform.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/staging/media/atomisp/include/linux/atomisp_gmin_platform.h b/drivers/staging/media/atomisp/include/linux/atomisp_gmin_platform.h index 09e260ea06ca..8700ffd32bdb 100644 --- a/drivers/staging/media/atomisp/include/linux/atomisp_gmin_platform.h +++ b/drivers/staging/media/atomisp/include/linux/atomisp_gmin_platform.h @@ -23,10 +23,12 @@ int atomisp_register_i2c_module(struct v4l2_subdev *subdev, struct v4l2_subdev *atomisp_gmin_find_subdev(struct i2c_adapter *adapter, struct i2c_board_info *board_info); int atomisp_gmin_remove_subdev(struct v4l2_subdev *sd); -int gmin_get_var_int(struct device *dev, const char *var, int def); +int gmin_get_var_int(struct device *dev, bool is_gmin, + const char *var, int def); int camera_sensor_csi(struct v4l2_subdev *sd, u32 port, u32 lanes, u32 format, u32 bayer_order, int flag); -struct camera_sensor_platform_data *gmin_camera_platform_data( +struct camera_sensor_platform_data * +gmin_camera_platform_data( struct v4l2_subdev *subdev, enum atomisp_input_format csi_format, enum atomisp_bayer_order csi_bayer); |