From: Archit Taneja Date: Wed, 7 Mar 2012 08:01:16 +0000 (-0300) Subject: [media] omap_vout: Set DSS overlay_info only if paddr is non zero X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~21^2^2~218 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32d640dea87bc973b91975ea408a04c6dcca3f45;p=pandora-kernel.git [media] omap_vout: Set DSS overlay_info only if paddr is non zero The omap_vout driver tries to set the DSS overlay_info using set_overlay_info() when the physical address for the overlay is still not configured. This happens in omap_vout_probe() and vidioc_s_fmt_vid_out(). The calls to omapvid_init(which internally calls set_overlay_info()) are removed from these functions. They don't need to be called as the omap_vout_device struct anyway maintains the overlay related changes made. Also, remove the explicit call to set_overlay_info() in vidioc_streamon(), this was used to set the paddr, this isn't needed as omapvid_init() does the same thing later. These changes are required as the DSS2 driver since 3.3 kernel doesn't let you set the overlay info with paddr as 0. Signed-off-by: Archit Taneja Tested-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed