]> git.baikalelectronics.ru Git - kernel.git/commit
[media] solo6x10: move global fields in solo_enc_fh to solo_enc_dev
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 18 Mar 2013 11:41:13 +0000 (08:41 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 25 Mar 2013 11:45:10 +0000 (08:45 -0300)
commit70d77fa605958c5dfc05f60f1b8fcf33bea4e2db
treeb1957f825b3e3cd8e1fffcd70c9bed81de7a90eb
parent91796ffdb9e982430fa73af2ef0b9179bd6b0c43
[media] solo6x10: move global fields in solo_enc_fh to solo_enc_dev

All fields in solo_enc_fh do not belong there since they refer to global
properties. After moving all these fields to solo_enc_dev the solo_dev_fh
struct can be removed completely.
Note that this also kills the 'listener' feature of this driver. This
feature (where multiple filehandles can read the video) is illegal in the
V4L2 API. Do this in userspace: it's much more efficient to copy memory
than it is to DMA to every listener.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/solo6x10/solo6x10.h
drivers/staging/media/solo6x10/v4l2-enc.c