]> git.karo-electronics.de Git - linux-beck.git/commit
[media] v4l: vsp1: Use __vsp1_video_try_format to initialize format at init time
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sun, 22 Nov 2015 16:08:18 +0000 (14:08 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 13 Apr 2016 21:57:24 +0000 (18:57 -0300)
commitb911605dcce9f7ebfea2e8f8833fb73782f55c22
tree81c8d53f55fdf364e49392029e7a113cd84ceef4
parentc6c8efb656ff213a4d32776c12454b9c9f0c14e4
[media] v4l: vsp1: Use __vsp1_video_try_format to initialize format at init time

Reuse the runtime logic to initialize the default format instead of
open-coding it. This ensures coherency between intialization and
runtime.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vsp1/vsp1_video.c