From patchwork Thu Jul 12 11:05:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alberto Panizzo X-Patchwork-Id: 942929 X-Patchwork-Delegate: philipp.tomsich@theobroma-systems.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="qcTCfJ5p"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 41RCxy3N8tz9s1R for ; Thu, 12 Jul 2018 21:14:30 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 2AB5BC21FB7; Thu, 12 Jul 2018 11:12:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 9E161C21F9B; Thu, 12 Jul 2018 11:08:52 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 14906C21C27; Thu, 12 Jul 2018 11:08:50 +0000 (UTC) Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by lists.denx.de (Postfix) with ESMTPS id 352C1C21C27 for ; Thu, 12 Jul 2018 11:07:21 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id w16-v6so5233488wmc.2 for ; Thu, 12 Jul 2018 04:07:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Vjf6/SeOfJ2gObaw+T4m8LGE2otJ+VxInigAqVjAP0Y=; b=qcTCfJ5p2BSsPOwZLGUvkjL8/CaGUXbfozSzR9tHHZF/mQzbCGVbn+sdAzudBZak+D Op7CV639IRGTfDkLrDBU9Ap52g2Qb5Jsdq1mM2Jr0qEYoT4cKaVjpDusgZ4pZUJuZ0Dq KwrtyO3D3Dd1uhQRGoy3hePReFalSbB3DZpgw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Vjf6/SeOfJ2gObaw+T4m8LGE2otJ+VxInigAqVjAP0Y=; b=EKbVqOCpNmT4x/DsKsySO3avhHJAg1BRkAWDFsYKQeh16ETbKSV07GgvaNu3OGpmJC HI09w15UKdfitLXPRikflVrs+pO5lMTdAbmq+2ebXQe31bRKdULGHe6Utm3EBZL9zker 4kO9ZZo1sq+cTXhhRmvma4r1eO4KLHLs6PBEOGJLisXLUujRje1TeoV55xpPlOfh0ujM Ej4nk7QKgIxdKNH6DxnwC3dc6Di9JLNLgbi29Z6WxIQ3BfAsKAKhH/W7FziI6AM+HYV0 +skwGaYYfPnqnGXmrE5hMmDko26g416TfHp2bI+He7iF5/hXCvetnfBvnuDoQfKOXrF9 Ma5w== X-Gm-Message-State: AOUpUlGo3hVIrAab0HUM0VFw/YP2/Cthy0qN9yBRw/uVPd/wt9Fs9fAM TXJGwIaLx3osAcxvnMKHPVsiLfrq X-Google-Smtp-Source: AAOMgpfAj52oUGM8wDhi4l+VuhOECNRKHcWBpUZIyo1kMk10pRbe1wnXtMHdd6qerjn+A255Gxi3ZA== X-Received: by 2002:a1c:9c0b:: with SMTP id f11-v6mr1061559wme.148.1531393640747; Thu, 12 Jul 2018 04:07:20 -0700 (PDT) Received: from localhost.localdomain (host-9473-86-113.popwifi.it. [94.73.86.113]) by smtp.googlemail.com with ESMTPSA id t140-v6sm6982421wmd.14.2018.07.12.04.07.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 12 Jul 2018 04:07:20 -0700 (PDT) From: Alberto Panizzo To: u-boot@lists.denx.de Date: Thu, 12 Jul 2018 13:05:48 +0200 Message-Id: <1531393559-28958-9-git-send-email-alberto@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1531393559-28958-1-git-send-email-alberto@amarulasolutions.com> References: <1531393559-28958-1-git-send-email-alberto@amarulasolutions.com> Cc: Marek Vasut Subject: [U-Boot] [PATCH v3 8/9] usb: rockchip: fix printing csw debug info X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Workstation tool was happy while console on device were printing random numbers.. Signed-off-by: Alberto Panizzo --- drivers/usb/gadget/f_rockusb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/f_rockusb.c b/drivers/usb/gadget/f_rockusb.c index 0959b8c..574d610 100644 --- a/drivers/usb/gadget/f_rockusb.c +++ b/drivers/usb/gadget/f_rockusb.c @@ -384,7 +384,7 @@ static int rockusb_tx_write_csw(u32 tag, int residue, u8 status, int size) csw->residue = cpu_to_be32(residue); csw->status = status; #ifdef DEBUG - printcsw((char *)&csw); + printcsw((char *)csw); #endif return rockusb_tx_write((char *)csw, size); }