]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00227873-1 pxp/v4l2: make the v4l2 output device index auto assigned
authorRobby Cai <R63905@freescale.com>
Wed, 10 Oct 2012 07:17:27 +0000 (15:17 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:36 +0000 (08:35 +0200)
commitf4c4afa2f4caf3ca48244916974079a2cdad2a56
tree2cbd0fd1f24a0057c3ebcc75397ab907314bb37e
parentfc31bb7adb9dfd763b71c6752a27575d35bdcb1a
ENGR00227873-1 pxp/v4l2: make the v4l2 output device index auto assigned

It used the hard-coded '0' for historical reason.
This patch changes it to -1 to make video device minor to
be automatically assigned.

Signed-off-by: Robby Cai <R63905@freescale.com>
drivers/media/video/mxc/output/mxc_pxp_v4l2.c