aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/ast/ast_main.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2023-06-21 14:53:35 +0200
committerThomas Zimmermann <[email protected]>2023-06-27 14:26:25 +0200
commit4cfe75f0f14f044dae66ad0e6eea812d038465d9 (patch)
tree435df70f8e80c50702edc4e119755bfcc77537eb /drivers/gpu/drm/ast/ast_main.c
parent731f4ab5d59e4b5a452664bd74390edab98daf52 (diff)
drm/ast: Fix DRAM init on AST2200
Fix the test for the AST2200 in the DRAM initialization. The value in ast->chip has to be compared against an enum constant instead of a numerical value. This bug got introduced when the driver was first imported into the kernel. Signed-off-by: Thomas Zimmermann <[email protected]> Fixes: 312fec1405dd ("drm: Initial KMS driver for AST (ASpeed Technologies) 2000 series (v2)") Cc: Dave Airlie <[email protected]> Cc: [email protected] Cc: <[email protected]> # v3.5+ Reviewed-by: Sui Jingfeng <[email protected]> Reviewed-by: Jocelyn Falempe <[email protected]> Tested-by: Jocelyn Falempe <[email protected]> # AST2600 Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/ast/ast_main.c')
0 files changed, 0 insertions, 0 deletions