]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00252782 mxc v4l2 capture:Support csi number attribution
authorLiu Ying <Ying.Liu@freescale.com>
Tue, 5 Mar 2013 06:54:51 +0000 (14:54 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:57 +0000 (08:35 +0200)
commitec1c478eba83abb802cc4592111fd4f528627fbb
tree664e3260cb4e3f99cd777e61a77a1754374d97a3
parent5d0a42fad36ef331ecaec572dd7a230e2bf185a8
ENGR00252782 mxc v4l2 capture:Support csi number attribution

This patch adds device attribution for video device to
show csi number to userspace. The pattern is in "ipux_csix"
fashion, which tells which ipu and csi is relevant to a
specific video device. In this way, userspace may figure
out different cameras even if they have the same type,
especially, android may use this to know back/front
cameras.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
drivers/media/video/mxc/capture/mxc_v4l2_capture.c
drivers/media/video/mxc/capture/mxc_v4l2_capture.h