dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Y.C. Chen" <yc_chen@aspeedtech.com>
To: dri-devel@lists.freedesktop.org
Cc: eich@suse.com, yc_chen@aspeedtech.com, airlied@redhat.com
Subject: [PATCH 2/2] drm/ast: AST2000 cannot be detected correctly
Date: Wed, 10 Sep 2014 12:07:54 +0800	[thread overview]
Message-ID: <1410322074-4427-2-git-send-email-yc_chen@aspeedtech.com> (raw)
In-Reply-To: <1410322074-4427-1-git-send-email-yc_chen@aspeedtech.com>

From: "Y.C. Chen" <yc_chen@aspeedtech.com>

Type error and cause AST2000 cannot be detected correctly

Signed-off-by: Y.C. Chen <yc_chen@aspeedtech.com>
---
 drivers/gpu/drm/ast/ast_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/ast/ast_main.c b/drivers/gpu/drm/ast/ast_main.c
index b027e33..b792194 100644
--- a/drivers/gpu/drm/ast/ast_main.c
+++ b/drivers/gpu/drm/ast/ast_main.c
@@ -105,7 +105,7 @@ static int ast_detect_chip(struct drm_device *dev)
 			}
 			ast->vga2_clone = false;
 		} else {
-			ast->chip = 2000;
+			ast->chip = AST2000;
 			DRM_INFO("AST 2000 detected\n");
 		}
 	}
-- 
1.8.3.1

  reply	other threads:[~2014-09-10  4:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-10  4:07 [PATCH 1/2] drm/ast: open key before detect chips Y.C. Chen
2014-09-10  4:07 ` Y.C. Chen [this message]
2014-09-10  8:35   ` [PATCH 2/2] drm/ast: AST2000 cannot be detected correctly Egbert Eich
2014-09-10  8:34 ` [PATCH 1/2] drm/ast: open key before detect chips Egbert Eich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1410322074-4427-2-git-send-email-yc_chen@aspeedtech.com \
    --to=yc_chen@aspeedtech.com \
    --cc=airlied@redhat.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=eich@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox