From: Lespiau, Damien Date: Mon, 19 Aug 2013 15:58:56 +0000 (+0100) Subject: video/hdmi: Don't let the user of this API create invalid infoframes X-Git-Tag: v3.12-rc1~136^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5ad3dcf358475dfc5ccf11e28d3822fc3c8e5fe;p=pandora-kernel.git video/hdmi: Don't let the user of this API create invalid infoframes To set the active aspect ratio value in the AVI infoframe today, you not only have to set the active_aspect field, but also the active_info_valid bit. Out of the 1 user of this API, we had 100% misuse, forgetting the _valid bit. This was fixed in: Author: Damien Lespiau Date: Tue Aug 6 20:32:17 2013 +0100 drm: Don't generate invalid AVI infoframes for CEA modes We can do better and derive the _valid bit from the user wanting to set the active aspect ratio. v2: Fix multi-lines comment style (Thierry Reding) Signed-off-by: Damien Lespiau Reviewed-by: Ville Syrjälä Reviewed-by: Thierry Reding Signed-off-by: Dave Airlie --- Reading git-diff-tree failed