Laurent Pinchart
76c001287f
media: i2c: imx290: Simplify imx290_set_data_lanes()
...
There's no need to check for an incorrect number of data lanes in
imx290_set_data_lanes() as the value is validated at probe() time. Drop
the check.
The PHY_LANE_NUM and CSI_LANE_MODE registers are programmed with a value
equal to the number of lanes minus one. Compute it instead of handling
it in the switch/case.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2023-02-03 15:05:50 +01:00
..
2022-10-24 19:03:53 +02:00
2022-08-16 12:46:26 +02:00
2022-11-21 11:04:28 +01:00
2022-08-16 12:46:26 +02:00
2022-11-21 11:04:30 +01:00
2022-12-07 17:58:47 +01:00
2022-12-07 17:58:46 +01:00
2022-11-21 11:04:24 +01:00
2022-11-21 11:04:25 +01:00
2022-11-21 11:04:25 +01:00
2022-11-21 11:04:25 +01:00
2023-01-22 08:33:12 +01:00
2019-05-30 11:26:41 -07:00
2022-11-21 11:04:26 +01:00
2022-06-10 14:51:35 +02:00
2022-08-16 12:46:26 +02:00
2022-06-10 14:51:35 +02:00
2022-11-21 11:04:26 +01:00
2022-11-21 11:04:26 +01:00
2023-01-22 08:33:13 +01:00
2022-11-21 11:04:26 +01:00
2022-11-21 11:04:27 +01:00
2022-08-16 12:46:26 +02:00
2022-11-25 08:35:48 +00:00
2019-05-30 11:26:41 -07:00
2022-11-25 08:46:29 +00:00
2022-11-21 11:04:27 +01:00
2022-11-21 11:04:27 +01:00
2022-11-21 11:04:28 +01:00
2021-02-01 10:03:45 +01:00
2021-01-12 17:55:28 +01:00
2023-01-22 08:33:14 +01:00
2022-11-21 11:04:28 +01:00
2022-11-21 11:04:28 +01:00
2022-08-16 12:46:26 +02:00
2022-10-27 14:38:03 +03:00
2022-08-16 12:46:26 +02:00
2022-08-16 12:46:26 +02:00
2022-10-25 10:37:03 +03:00
2022-08-16 12:46:26 +02:00
2022-12-06 07:23:19 +00:00
2022-08-16 12:46:26 +02:00
2023-02-03 14:55:47 +01:00
2022-08-16 12:46:26 +02:00
2022-12-07 17:58:46 +01:00
2023-02-03 15:05:50 +01:00
2022-12-06 07:23:37 +00:00
2022-08-16 12:46:26 +02:00
2022-08-16 12:46:26 +02:00
2022-12-06 07:23:56 +00:00
2022-11-25 06:46:05 +00:00
2023-01-22 08:33:15 +01:00
2022-12-07 17:58:46 +01:00
2022-12-07 17:58:47 +01:00
2022-11-21 11:04:29 +01:00
2019-05-30 11:26:37 -07:00
2022-11-21 11:04:29 +01:00
2022-11-21 11:04:29 +01:00
2022-11-21 11:04:30 +01:00
2022-12-07 17:58:47 +01:00
2022-08-16 12:46:26 +02:00
2019-11-10 17:47:14 +01:00
2021-06-17 11:30:21 +02:00
2021-06-17 11:30:21 +02:00
2023-02-03 14:51:45 +01:00
2022-11-21 11:04:30 +01:00
2023-01-22 08:33:16 +01:00
2018-09-17 13:16:19 -04:00
2020-11-16 10:31:07 +01:00
2022-08-16 12:46:26 +02:00
2022-11-21 11:04:31 +01:00
2022-08-16 12:46:26 +02:00
2023-01-22 08:33:17 +01:00
2022-11-21 11:04:31 +01:00
2022-11-21 11:04:31 +01:00
2022-11-21 11:04:31 +01:00
2023-01-22 08:33:18 +01:00
2022-10-22 15:30:15 -07:00
2022-11-21 11:04:32 +01:00
2022-08-16 12:46:26 +02:00
2022-08-16 12:46:26 +02:00
2022-12-06 07:24:15 +00:00
2022-11-25 08:50:23 +00:00
2022-08-16 12:46:26 +02:00
2022-08-16 12:46:26 +02:00
2022-10-27 14:48:55 +03:00
2022-08-16 12:46:26 +02:00
2022-12-06 07:22:09 +00:00
2022-08-16 12:46:26 +02:00
2023-02-03 14:52:11 +01:00
2022-10-28 11:31:28 +03:00
2023-02-03 14:56:13 +01:00
2022-11-25 06:49:15 +00:00
2022-08-16 12:46:26 +02:00
2022-10-25 14:34:49 +03:00
2022-08-16 12:46:26 +02:00
2023-02-03 14:52:32 +01:00
2022-12-06 07:10:07 +00:00
2022-08-16 12:46:26 +02:00
2022-11-21 11:04:32 +01:00
2022-08-16 12:46:26 +02:00
2022-11-21 11:04:33 +01:00
2023-01-22 08:33:19 +01:00
2022-08-16 12:46:26 +02:00
2022-10-25 14:31:51 +03:00
2022-10-22 15:30:15 -07:00
2022-12-06 07:25:02 +00:00
2022-11-21 11:04:33 +01:00
2021-02-06 09:38:05 +01:00
2022-10-27 14:48:55 +03:00
2022-08-16 12:46:26 +02:00
2022-11-21 11:04:32 +01:00
2022-08-16 12:46:26 +02:00
2022-08-16 12:46:26 +02:00
2022-11-21 11:04:33 +01:00
2022-12-07 17:58:47 +01:00
2022-12-07 17:58:47 +01:00
2022-11-21 11:04:34 +01:00
2019-11-10 17:47:14 +01:00
2022-11-21 11:04:35 +01:00
2022-11-21 11:04:34 +01:00
2022-11-21 11:04:34 +01:00
2022-11-21 11:04:35 +01:00
2023-01-22 08:33:20 +01:00
2023-01-22 08:33:21 +01:00
2022-11-21 11:04:35 +01:00
2022-11-21 11:04:36 +01:00
2022-11-21 11:04:36 +01:00
2022-08-16 12:46:26 +02:00
2022-11-25 08:49:56 +00:00
2018-02-14 13:16:31 -05:00
2022-12-07 17:58:46 +01:00
2023-02-03 14:54:56 +01:00
2021-10-19 08:08:38 +01:00
2023-01-22 08:33:22 +01:00
2022-11-21 11:04:36 +01:00
2022-11-21 11:04:36 +01:00
2022-11-21 11:04:37 +01:00
2017-11-02 11:10:55 +01:00
2022-11-21 11:04:37 +01:00
2017-11-02 11:10:55 +01:00
2022-11-21 11:04:37 +01:00
2022-08-16 12:46:26 +02:00
2022-11-21 11:04:38 +01:00
2023-01-22 08:33:22 +01:00
2021-03-22 10:23:43 +01:00
2023-01-22 08:33:23 +01:00
2019-11-10 17:47:14 +01:00
2022-08-16 12:46:26 +02:00
2019-05-30 11:26:37 -07:00
2022-08-16 12:46:26 +02:00
2022-11-21 11:04:38 +01:00
2022-11-21 11:04:38 +01:00
2022-11-21 11:04:38 +01:00
2022-11-21 11:04:39 +01:00
2022-11-21 11:04:39 +01:00
2022-11-21 11:04:39 +01:00
2022-11-21 11:04:40 +01:00
2023-01-22 08:33:24 +01:00
2022-11-21 11:04:40 +01:00
2022-11-21 11:04:40 +01:00
2019-05-30 11:26:41 -07:00
2022-11-21 11:04:41 +01:00
2022-11-21 11:04:41 +01:00
2022-11-21 11:04:41 +01:00