]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 19 Jun 2014 16:36:10 +0000 (13:36 -0300)
commit433e5d319f2caa1cb952633d1b68a45a97a74145
treec4d3d83ad49caf04d24f159b6b56f879fae51eed
parent46d51614d51ce89e7c3b113ac438ef03ae068941
[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.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/au0828/au0828-video.c