]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l: of: check for unique lanes in data-lanes and clock-lanes
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Tue, 31 Jan 2017 12:08:31 +0000 (10:08 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 8 Feb 2017 12:32:11 +0000 (10:32 -0200)
commit10ee972dc3df467a0c6d155662274e2689caef5c
tree16f136794a2e3ba1e06913a945c58183cf278fe4
parentb89cc355a710a6b50429bfa52c3d087af37fd245
[media] v4l: of: check for unique lanes in data-lanes and clock-lanes

All lanes in data-lanes and clock-lanes properties should be unique. Add
a check for this in v4l2_of_parse_csi_bus() and print a warning if
duplicated lanes are found.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/v4l2-core/v4l2-of.c