[media] cx231xx: improve std handling
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 29 Jan 2013 13:50:54 +0000 (10:50 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Mar 2013 17:26:01 +0000 (14:26 -0300)
commitd61072a4975d0be5f0a858fba8d0304800b43fbf
treec7202f2f0ee0023018742ce145bc8943dc7c13d9
parent71590765b81bdc22562fb54e1def0f78d9be8909
[media] cx231xx: improve std handling

Set the initial standard of subdevices instead of leaving it undefined.
Also update the width and height when a new standard is chosen and
return -EBUSY when attempting to change the standard while videobuf is
busy.

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