]> asedeno.scripts.mit.edu Git - linux.git/commit
media: v4l: fwnode: Only assign configuration if there is no error
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 3 Jul 2018 11:06:20 +0000 (07:06 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 4 Oct 2018 20:12:39 +0000 (16:12 -0400)
commitaf11a74a04a57dfc050b48b67cc1e7f5b71e6a95
tree667139002983c70c7e199f2e998c131274a7fad7
parent276565ed7e48453e16ff6b95774bd70843ec4eb1
media: v4l: fwnode: Only assign configuration if there is no error

Only assign endpoint configuration if the endpoint is parsed successfully.

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>
drivers/media/v4l2-core/v4l2-fwnode.c