[media] s2255: fixes in the way standards are handled
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 15 Feb 2013 09:12:58 +0000 (06:12 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Mar 2013 18:37:10 +0000 (15:37 -0300)
commit469af77a178510ed43d4d527b1b7a607c5c18bcb
treec961a3cb84e0249db90f4e00b062c57c5a3f18c2
parent39696009d0d4472606b7fb90fc635a0d0fecba60
[media] s2255: fixes in the way standards are handled

Instead of comparing against STD_NTSC and STD_PAL compare against 60 and
50 Hz formats. That's what you really want.
When the standard is changed, make sure the width and height of the format
are also updated to reflect the current standard.
Also replace the deprecated current_norm by the g_std ioctl.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/s2255/s2255drv.c