From patchwork Tue Mar 31 17:05:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Todd Previte X-Patchwork-Id: 6132771 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E6C6FBF4A6 for ; Tue, 31 Mar 2015 17:05:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 25D032015A for ; Tue, 31 Mar 2015 17:05:55 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 494862018E for ; Tue, 31 Mar 2015 17:05:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 85367720C7; Tue, 31 Mar 2015 10:05:53 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pd0-f176.google.com (mail-pd0-f176.google.com [209.85.192.176]) by gabe.freedesktop.org (Postfix) with ESMTP id D0934720C7 for ; Tue, 31 Mar 2015 10:05:51 -0700 (PDT) Received: by pdrw1 with SMTP id w1so18348658pdr.0 for ; Tue, 31 Mar 2015 10:05:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=GDK3c9MVOaUisNJtWDIlAzmzVqPbdEwEbbJCFRHH+n0=; b=T41TBeRCj+CEue4Bw25ghUSD8dPmDmMPwgDh5fc6clBzqFKhEpsAw8fNFpVO2DxsYy PyoT4CDPeO6CZrG6YRN5wyKyfaC//CPvDZBvDso0MWzWLWhZj7xUS/sBKUj87tp/H2sl caaQr7irWUpwfiSD3hNoInFLJBLwIB9/yMqAottM+FgedaTDq3iIvfUXI3O04yrB4uy0 +qBKSs/FHBoCmL262z6CesyoT2ZxR8kv5tiTFS1AJgGbG4Ak9FvZSirtWl4kC7b193dS p4GA5tD1VoStULBGZuZrekNhWQMYQV4YfnxoRtgwmFJyKtNQZQHPuLM7LWbqo1H2YO1F 2+CQ== X-Received: by 10.66.240.228 with SMTP id wd4mr69461752pac.80.1427821551713; Tue, 31 Mar 2015 10:05:51 -0700 (PDT) Received: from localhost.localdomain (ip70-162-72-208.ph.ph.cox.net. [70.162.72.208]) by mx.google.com with ESMTPSA id qh9sm11520007pbc.24.2015.03.31.10.05.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 31 Mar 2015 10:05:51 -0700 (PDT) From: Todd Previte To: tprevite@gmail.com Subject: [PATCH 9/9] drm: Fix the 'native defer' message in drm_dp_i2c_do_msg() Date: Tue, 31 Mar 2015 10:05:29 -0700 Message-Id: <1427821529-27241-10-git-send-email-tprevite@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1427821529-27241-1-git-send-email-tprevite@gmail.com> References: <1427821529-27241-1-git-send-email-tprevite@gmail.com> Cc: dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The debug message is missing a newline at the end and it makes the logs hard to read when a device defers a lot. Simple 2-character fix adds the newline at the end. Signed-off-by: Todd Previte Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/drm_dp_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_dp_helper.c b/drivers/gpu/drm/drm_dp_helper.c index 0539758..281bb67 100644 --- a/drivers/gpu/drm/drm_dp_helper.c +++ b/drivers/gpu/drm/drm_dp_helper.c @@ -433,7 +433,7 @@ static int drm_dp_i2c_do_msg(struct drm_dp_aux *aux, struct drm_dp_aux_msg *msg) return -EREMOTEIO; case DP_AUX_NATIVE_REPLY_DEFER: - DRM_DEBUG_KMS("native defer"); + DRM_DEBUG_KMS("native defer\n"); /* * We could check for I2C bit rate capabilities and if * available adjust this interval. We could also be