drm/ast: fix the ast open key function

When porting from UMS I mistyped this from the wrong place, AST noticed
and pointed it out, so we should fix it to be like the X.org driver.

Reported-by: Y.C. Chen <yc_chen@aspeedtech.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>

+1 -1
+1 -1
drivers/gpu/drm/ast/ast_drv.h
··· 177 178 static inline void ast_open_key(struct ast_private *ast) 179 { 180 - ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xA1, 0xFF, 0x04); 181 } 182 183 #define AST_VIDMEM_SIZE_8M 0x00800000
··· 177 178 static inline void ast_open_key(struct ast_private *ast) 179 { 180 + ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x80, 0xA8); 181 } 182 183 #define AST_VIDMEM_SIZE_8M 0x00800000