]> rtime.felk.cvut.cz Git - linux-imx.git/commit
staging: xgifb: XGIfb_mode_rate_to_ddata: initialize ModeIdIndex properly
authorAaro Koskinen <aaro.koskinen@iki.fi>
Fri, 6 Apr 2012 22:13:48 +0000 (01:13 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Apr 2012 16:55:09 +0000 (09:55 -0700)
commit051ff1bb3cb30e5e94d402fe5c9c1fdf4f9cd24c
tree79d98e9a2655c25137bb744bbd9db8b55dd52728
parent3a05de3304d9f8dd02d4e6d987e978f64bc8943c
staging: xgifb: XGIfb_mode_rate_to_ddata: initialize ModeIdIndex properly

Initialize ModeIdIndex according to the selected video mode. Currently
index 0 is always used and wrong video mode data may be used.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/XGI_main_26.c