From: Tomi Valkeinen Date: Thu, 3 Nov 2011 14:08:27 +0000 (+0200) Subject: OMAPDSS: DISPC: handle 0 out_width/out_height in ovl_setup() X-Git-Tag: v3.3-rc1~59^2~2^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf0736681e569b0d3803d68d4f6d00f544f3426a;p=pandora-kernel.git OMAPDSS: DISPC: handle 0 out_width/out_height in ovl_setup() Overlay out_width/height are set to 0 when scaling is not used by the users of omapdss. Currently ovl_setup() expects the caller of ovl_setup() to convert those zero values to width or height. This patch makes ovl_setup() accept zero values for out_width/height, making calling ovl_setup() a bit simpler as the overlay_info can be just passed to this function without modifications. Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed