From: Ben Dooks Date: Wed, 11 Aug 2010 01:02:32 +0000 (-0700) Subject: s3c-fb: only init window colour key controls for windows with blending X-Git-Tag: v2.6.36-rc1~182 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=949470375393e82dc9158d36d675180c8c250388;p=pandora-kernel.git s3c-fb: only init window colour key controls for windows with blending The driver clears all windows, but also sets the windows' colour key controls at the same time. However, the last window does not have these registers as it is always blended into the previous window. Move the colour key initialisation into the probe, and run it for only nr_win-1 windows. Signed-off-by: Ben Dooks Signed-off-by: Pawel Osciak Cc: InKi Dae Cc: KyungMin Park Cc: Marek Szyprowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed