Searched hist:b3ba8fa6b89bd99efe75080bfd8f3168781ae7de (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/media/usb/stk1160/ |
H A D | stk1160-v4l.c | diff b3ba8fa6b89bd99efe75080bfd8f3168781ae7de Thu Jul 18 07:01:23 CDT 2013 Ezequiel Garcia <ezequiel.garcia@free-electrons.com> [media] media: stk1160: Ignore unchanged standard set
This commit adds an early check to vidioc_s_std() to detect if the new and current standards are equal, and exit with success in that case. This is needed to prevent userspace applications that might attempt to re-set the same standard from failing if that's done when streaming has started.
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
|