media: i2c: ds90ub960: Allow FPD-Link async mode
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Mon, 31 Jul 2023 13:24:40 +0000 (16:24 +0300)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 10 Aug 2023 05:58:37 +0000 (07:58 +0200)
Allow using FPD-Link in async mode. The driver handles it correctly, but
the mode was blocked at probe time as there wasn't HW to test this with.
Now the mode has been tested, and it works.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/i2c/ds90ub960.c

index b840c9160bf2d67f8b56daccb284472772f82cc0..c29db59e340b994c74576a9d7005a4dafebcba5d 100644 (file)
@@ -3240,7 +3240,6 @@ ub960_parse_dt_rxport_link_properties(struct ub960_data *priv,
        switch (rx_mode) {
        case RXPORT_MODE_RAW12_HF:
        case RXPORT_MODE_RAW12_LF:
-       case RXPORT_MODE_CSI2_ASYNC:
                dev_err(dev, "rx%u: unsupported 'ti,rx-mode' %u\n", nport,
                        rx_mode);
                return -EINVAL;