drm/ast: open key before detect chips
authorY.C. Chen <yc_chen@aspeedtech.com>
Wed, 10 Sep 2014 04:07:53 +0000 (12:07 +0800)
committerDave Airlie <airlied@redhat.com>
Fri, 12 Sep 2014 03:41:27 +0000 (13:41 +1000)
commit8f372e250ae5f4a5faf87ca1a629d0ae59db65b6
treee4ed1d9689aa2642b6dfd809fd81eb81756cbe74
parentd9f4acd0b46159452d946b20b0ac633b0343a81e
drm/ast: open key before detect chips

Some config settings like 3rd TX chips will not get correctly
if the extended reg is protected

Signed-off-by: Y.C. Chen <yc_chen@aspeedtech.com>
Reviewed-by: Egbert Eich <eich@suse.de>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ast/ast_main.c