[media] em28xx: move TV norm from struct em28xx to struct v4l2

TV norm is specific to analog TV reception. move it out of the common
em28xx struct.

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
Frank Schaefer
2014-03-24 16:33:16 -03:00
committed by Mauro Carvalho Chehab
vanhempi 9297285e51
commit 52faaf78b5
2 muutettua tiedostoa jossa 21 lisäystä ja 17 poistoa

Näytä tiedosto

@@ -519,6 +519,8 @@ struct em28xx_v4l2 {
u8 vinmode;
u8 vinctl;
v4l2_std_id norm; /* selected tv norm */
/* Frame properties */
int width; /* current frame width */
int height; /* current frame height */
@@ -633,7 +635,6 @@ struct em28xx {
/* video for linux */
int users; /* user count for exclusive use */
int streaming_users; /* Number of actively streaming users */
v4l2_std_id norm; /* selected tv norm */
int ctl_freq; /* selected frequency */
unsigned int ctl_input; /* selected input */
unsigned int ctl_ainput;/* selected audio input */