[media] rcar_vin: call g_std() instead of querystd()
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Thu, 3 Sep 2015 23:18:05 +0000 (20:18 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 25 Sep 2015 20:32:42 +0000 (17:32 -0300)
commitf00ae754c536511055ed6162778be8348e093514
tree7045e8d9202d9c3fd072253bdcc45bd790ab2c48
parent936ad8900c60b800f10b14afc3b9ab26a7182d26
[media] rcar_vin: call g_std() instead of querystd()

Hans Verkuil says: "The only place querystd can be called  is in the QUERYSTD
ioctl, all other ioctls should use the last set standard." So call the g_std()
subdevice method instead of querystd() in the driver's set_fmt() method.

Reported-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/soc_camera/rcar_vin.c