[media] pwc: Don't return EINVAL when an unsupported pixelformat is requested
authorHans de Goede <hdegoede@redhat.com>
Fri, 25 Jan 2013 09:53:07 +0000 (06:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Feb 2013 16:54:47 +0000 (14:54 -0200)
commitf1927479554bf19d2ac54c4b1a38538e54e1881b
tree2b1d49db30c96a45397e2c698b95547216525c58
parent78f968fa26acbdf44457a7bc35a195b7df040b29
[media] pwc: Don't return EINVAL when an unsupported pixelformat is requested

Instead chaneg the passed in format to the pwc default pixelformat.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/pwc/pwc-v4l.c