[media] media: tw686x: Rework initial hardware configuration
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>
Thu, 4 Aug 2016 22:00:22 +0000 (19:00 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 24 Aug 2016 11:45:38 +0000 (08:45 -0300)
commit95ad747e925299690c63bcc96c3f9bca640865bd
tree816aff2faee5becbb2f9b99c196a6944e64163f7
parent926605d05c9d5f9d43e17f0fc3dc906473325755
[media] media: tw686x: Rework initial hardware configuration

Currently, the hardware is not given a complete initial
configuration.

In order to fix this, this rather large commit reworks
standard, frame format and input configuration. While
at it, we introduce proper functions to configure
each parameter, and as a result the code is a bit cleaner.

Reported-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/tw686x/tw686x-video.c