OMAP: DSS2: Reject scaling settings when they cannot be supported
authorVille Syrjälä <ville.syrjala@nokia.com>
Fri, 8 Jan 2010 09:56:41 +0000 (11:56 +0200)
committerTomi Valkeinen <tomi.valkeinen@nokia.com>
Tue, 12 Jan 2010 10:10:19 +0000 (12:10 +0200)
commit2d9c5597ad1408885fdef5838aa27a8a0ee9e915
tree896ac2b767482c64802068232705c2298515fdae
parent24be78b32f0a6e14aead3eac89d768a361b091b3
OMAP: DSS2: Reject scaling settings when they cannot be supported

If the scaling ratio is below 0.5 video output width can't be identical
to the display width. Reject such settings.

Signed-off-by: Ville Syrjälä <ville.syrjala@nokia.com>
Acked-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
drivers/video/omap2/dss/dispc.c