commit | d89c8ce07168ef6cd16c71d0a9f618829e866e87 | [log] [tgz] |
---|---|---|
author | Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> | Tue Sep 25 10:31:40 2012 +0400 |
committer | Ben Skeggs <bskeggs@redhat.com> | Wed Oct 03 13:13:12 2012 +1000 |
tree | 418e10f2489d4222f2326e8f20cfeca14d1ec9cb | |
parent | acac7bdba61226502a230db9245ca426a67102a9 [diff] |
drm/nouveau: fix pm initialization order If nouveau_pm_perflvl_get() fails, pm->profiles list will be left uninitialized, which causes oops during nouveau_pm_fini(). Move INIT_LIST_HEAD before call to nouveau_pm_perflvl_get(). Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>