upstream: [media] au0828: don't hardcode height/width
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 8 Jun 2014 16:54:58 +0000 (13:54 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:59:47 +0000 (11:59 +0900)
commit07657b3ff5491531612f600060ee291056a8a04f
tree0059e24e17a7e62e2c7a4816223728a124fc44be
parentc48e0a8e7442440158037d334675a5f68db218f7
upstream: [media] au0828: don't hardcode height/width

While this device doesn't have a scaler (or have it disabled),
the screen dimentions are a function of the standard. Ok, right
now, only 480 lines standards are implemented, although it
supports other ones. Yet, let's calculate the size, to make
easier to add more standards latter.

Backports http://git.linuxtv.org/cgit.cgi/media_tree.git/commit/?id=1fe3a8fe4944
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/au0828/au0828-video.c