diff options
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2010-07-23 11:32:25 +0000 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2010-07-23 14:46:11 +0000 |
commit | af29a5b1781bf642a29b5e9bb6162dccfcd626df (patch) | |
tree | 71620cfea61cefeb502149a6c61e1937b4d31dfc /drivers/video/via/via_modesetting.c | |
parent | cd5899551c48dff5fe05914fc187932111091953 (diff) |
viafb: fix accel_flags check_var bug
viafb: fix accel_flags check_var bug
In check_var we should check and modify the var given and not the
one which is currently active. So this code was obviously wrong.
Probably this was doing no harm because all acceleration functions
also check whether acceleration is possible. (otherwise I would
expect this to lead to a null pointer dereference)
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Joseph Chan <JosephChan@via.com.tw>
Diffstat (limited to 'drivers/video/via/via_modesetting.c')
0 files changed, 0 insertions, 0 deletions