Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2969944yba; Mon, 8 Apr 2019 08:25:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqw+d9QOGnz6yAxYC4VZFC0KvR/CAumL+3PuoMwiaE3Nz/r7/Rb3TKTQ97dSCoC3fEu87lkA X-Received: by 2002:a62:5f84:: with SMTP id t126mr30346493pfb.185.1554737134543; Mon, 08 Apr 2019 08:25:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554737134; cv=none; d=google.com; s=arc-20160816; b=qIrBw+2B7jcPLrM5LMJGEhF0ETy08fSUVYlk2WSjZKbVuBkYkwu92DcHFFVhsPWo5O 57pVZtBveB9LaqRwfw5J1xprhehXmwC5ySykBcYSjInEAI5u9Q2GFEKhiSZhMxPjl8am Ifp/hFP2aUjP3fM5YYVm7422J+53WhKl4oY2skj6d54uukynTWy/2Jyf/2D9HXdHk0vo vzO1p7f24VpHS//e1IEuQEyX7rw/C/xdS8R0qkmsXrn73xwFE92OHv2qXwwnBiu5juWj XTTRaG2wsFoAh/rP7MEWOd+3maq4OrehWZMD/SsLDgyiVol2gKD+NHXIsCHjifpd5lTX MKjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=okM1vIDf+ZoBxi32aqHLc7npMU8n8yY3YdirF99DKSE=; b=JtKVwbrIaXli203G8YmN+AXrqvGFcPhGDV0Fx+GF0LxL9nNKw2u9POF6yQ3S6aQJlz p6UwiCnPA+fJBYyFOIgAX7/C6k3K0/X3ZYali/5Rvq/wPaQ051/C+ktinaHDL3Si+gNA I0mu5ruhKpCOnyTsq8rZfN/QDsxXxpjOMfw32an5Oy92CbrrAdDMfgJerouJU0thsOlY 3L0CqztOLE2OKoB7rlMojCzXuUxPVr+hUxA3khATxHBrUl2Sh91jDPe2d+a6T94lBENN +cB29GR/VFb3VaoKZl0re6CQCwue5lO7Zsbx3//pGt6sXMJ0AbyUG6W7CAa0rYzET9Op Btnw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t19si22001682plr.389.2019.04.08.08.25.18; Mon, 08 Apr 2019 08:25:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728935AbfDHPXT (ORCPT + 99 others); Mon, 8 Apr 2019 11:23:19 -0400 Received: from smtp.asem.it ([151.1.184.197]:54522 "EHLO smtp.asem.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726742AbfDHPXR (ORCPT ); Mon, 8 Apr 2019 11:23:17 -0400 Received: from webmail.asem.it by asem.it (smtp.asem.it) (SecurityGateway 5.5.0) with ESMTP id SG003799040.MSG for ; Mon, 08 Apr 2019 17:23:11 +0200S Received: from ASAS044.asem.intra (172.16.16.44) by ASAS044.asem.intra (172.16.16.44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Mon, 8 Apr 2019 17:23:11 +0200 Received: from flavio-x.asem.intra (172.16.17.208) by ASAS044.asem.intra (172.16.16.44) with Microsoft SMTP Server id 15.1.1261.35 via Frontend Transport; Mon, 8 Apr 2019 17:23:11 +0200 From: Flavio Suligoi To: Daniel Mack , Haojian Zhuang , Robert Jarzmik , Mark Brown CC: , , , Flavio Suligoi Subject: [PATCH 1/1] spi: pxa2xx: add driver enabling message Date: Mon, 8 Apr 2019 17:22:44 +0200 Message-ID: <1554736964-6058-1-git-send-email-f.suligoi@asem.it> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-SGHeloLookup-Result: pass smtp.helo=webmail.asem.it (ip=172.16.16.44) X-SGSPF-Result: none (smtp.asem.it) X-SGOP-RefID: str=0001.0A0B0212.5CAB675F.0062,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 (_st=1 _vt=0 _iwf=0) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add an info message for the PXA2xx device driver start-up, with the indication of the transfer mode used (DMA or GPIO). This info is useful to individuate the timing when the module starts. Signed-off-by: Flavio Suligoi --- drivers/spi/spi-pxa2xx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/spi/spi-pxa2xx.c b/drivers/spi/spi-pxa2xx.c index f7068cc..d449501 100644 --- a/drivers/spi/spi-pxa2xx.c +++ b/drivers/spi/spi-pxa2xx.c @@ -1826,6 +1826,9 @@ static int pxa2xx_spi_probe(struct platform_device *pdev) goto out_error_clock_enabled; } + dev_info(dev, "PXA2xx SPI master controller (%s mode)\n", + platform_info->enable_dma ? "DMA" : "PIO"); + return status; out_error_clock_enabled: -- 2.7.4