From: Tomi Valkeinen Date: Thu, 23 Aug 2012 13:06:43 +0000 (+0300) Subject: OMAPDSS: fix use of dssdev->caps X-Git-Tag: v3.7-rc1~48^2~1^2~10^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab585254ba6b0f2931c0f77bd99e46f017fe685c;p=pandora-kernel.git OMAPDSS: fix use of dssdev->caps Recent commit dca2b1522ccab28d03fb79f6e70e70ea78033d52 (OMAPDSS: DSI: Maintain copy of operation mode in driver data) broke DSI for video mode displays. The commit changed the way dssdev->caps are initialized, and the result was that every DSI display is initialized with manual-update and tear-elim caps. The code that sets dssdev->caps is not very good, even when fixed. omapdss driver shouldn't be writing dssdev->caps at all. This patch fixes the problem with video mode displays by moving the initialization of dssdev->caps to the panel driver. The same change is done for RFBI. Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed