diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2018-07-03 17:19:27 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-10-04 16:06:15 -0400 |
commit | 2d95e7ed07ed29715a801a3d33b2ad2a6fb26ee3 (patch) | |
tree | 5054993a2a98cd1552749cbdb8b006d32409c4d3 /drivers/media/i2c/s5c73m3 | |
parent | bf63856a48619453e0fdf093918e956e7896faca (diff) | |
download | linux-2d95e7ed07ed29715a801a3d33b2ad2a6fb26ee3.tar.gz linux-2d95e7ed07ed29715a801a3d33b2ad2a6fb26ee3.tar.bz2 linux-2d95e7ed07ed29715a801a3d33b2ad2a6fb26ee3.zip |
media: v4l: mediabus: Recognise CSI-2 D-PHY and C-PHY
The CSI-2 bus may use either D-PHY or C-PHY. Make this visible in media
bus enum.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Tested-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Tested-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/i2c/s5c73m3')
-rw-r--r-- | drivers/media/i2c/s5c73m3/s5c73m3-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/s5c73m3/s5c73m3-core.c b/drivers/media/i2c/s5c73m3/s5c73m3-core.c index c4145194251f..ed7348a8a01a 100644 --- a/drivers/media/i2c/s5c73m3/s5c73m3-core.c +++ b/drivers/media/i2c/s5c73m3/s5c73m3-core.c @@ -1644,7 +1644,7 @@ static int s5c73m3_get_platform_data(struct s5c73m3 *state) if (ret) return ret; - if (ep.bus_type != V4L2_MBUS_CSI2) { + if (ep.bus_type != V4L2_MBUS_CSI2_DPHY) { dev_err(dev, "unsupported bus type\n"); return -EINVAL; } |