upstream: [media] solo6x10: Reduce OSD writes to the minimum necessary
authorIsmael Luceno <ismael.luceno@corp.bluecherry.net>
Sun, 18 May 2014 19:44:11 +0000 (16:44 -0300)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:27:13 +0000 (14:27 +0900)
commitfea840d3a8e37cf05251ed29641b309a6421d0bd
treefc4063580a934f3e13426a91cb71a39e3e9dadb4
parent7eb92c75e2df6ead5ab0d2d61ee1e595071b104a
upstream: [media] solo6x10: Reduce OSD writes to the minimum necessary

Instead of unconditionally writing SOLO_EOSD_EXT_SIZE() bytes to the OSD
area (which is 64 or 128 kB depending on the PCI board) we only
write the actual amount of data needed which is 16 * OSD_TEXT_MAX (= 16 * 44).

Signed-off-by: Ismael Luceno <ismael.luceno@corp.bluecherry.net>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/staging/media/solo6x10/solo6x10-enc.c
drivers/staging/media/solo6x10/solo6x10-offsets.h