video: tegra: hdmi: validate variable screeninfo
authorpdabade <pdabade@nvidia.com>
Tue, 10 Dec 2013 05:12:01 +0000 (10:12 +0530)
committerMatthew Pedro <mapedro@nvidia.com>
Fri, 24 Jan 2014 20:01:42 +0000 (12:01 -0800)
commit95c7d5a8c9fc4c4d6326d608723237ed197b893a
tree4b044ee1b24fb3c66723c8b21acc14753db9b8ce
parentd633a68ac0c4758927bc436142c196421287d10a
video: tegra: hdmi: validate variable screeninfo

verify variable screeninfo by checking xres and yres before
validating aspect ratio.

bug 1417318

Change-Id: I473f3e2f30888c053ca53559e33355f216d2a8d3
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/340236
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jong Kim <jongk@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
drivers/video/tegra/dc/hdmi.c