Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3883143yba; Tue, 9 Apr 2019 06:49:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqz9Ie6Ke9mv2R/PmRPjZimMcV7sT72svU9NtOG6r6GTVUUnRB+W9T7hHJvzpuk69upTcEIj X-Received: by 2002:a17:902:7893:: with SMTP id q19mr37077085pll.154.1554817752379; Tue, 09 Apr 2019 06:49:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554817752; cv=none; d=google.com; s=arc-20160816; b=dRZHh4lwAssR8fQbJYAxYU9JT/ZIdiGIZc2oUtjiOIhQ073liam94IZ7lLWUOCG98A 9s5yJp91MeK0tcMyHufoO2tsA1lPYE7TyeSOmVjQPB9RhY9LSc+TURUSvlK2dR1r3ZQp p7rnHVfBko7X4cVhvJGnC+7pWddlfogZ+3P0IJADeQYPYWsJXa2MPqKD4NUpcBMO+Z9K c/0F8WMD1qtoyzvZUqaZ6tP2pp4Q6vTYrJPIgFSuZkw6cKDoM/Eeinfp6CRXF3y928ei e7XFzMb678iKqRVXRYw7bCAOBShmfAvRcnlOcrCMcE7YEo+5m81Iy8BhLVuH5udFgbOo K7OQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=OqubaiQd4/dq4r2WyjKcIqMDnBNyPa3bsuigJC/Lig4=; b=cSS+/pUQKuKOuUM0+LR9djrJULVtoY73XrhOyepazI4ruLhuU4ws+OyTaRXrjVA1oz g/eRvjjE6/47MhE8iWL1JpH0nBIFjvcPYgMKGL22W/NbRUd1pTeGJ01kmp63Rf6FTx7I 3KZv2R4q/9OOXBPsSHY7YWMm7O9Z0bJ8OOfvotEE+o+VGy9udQiZ1QlI2yRkF6BNuxGg TinEa9s1Pk2mVjoi4i4geJkAuvN/1DjSZDAV3DlIectZ2QMQjdSdhdXeQ++AGdVObLZu nxKOnUTZK4MGnRb8ju0nL7cJLq2CVhDpUJ6jB8639UEJCntO/Af4WsCfsdZSXXcxBg62 cCjw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e124si30082726pfc.80.2019.04.09.06.48.56; Tue, 09 Apr 2019 06:49:12 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727127AbfDINsO (ORCPT + 99 others); Tue, 9 Apr 2019 09:48:14 -0400 Received: from mga12.intel.com ([192.55.52.136]:21218 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726464AbfDINsN (ORCPT ); Tue, 9 Apr 2019 09:48:13 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Apr 2019 06:48:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,329,1549958400"; d="scan'208";a="149336406" Received: from mylly.fi.intel.com (HELO [10.237.72.147]) ([10.237.72.147]) by orsmga002.jf.intel.com with ESMTP; 09 Apr 2019 06:48:10 -0700 Subject: Re: [PATCH 1/1] spi: pxa2xx: add driver enabling message To: Flavio Suligoi , Daniel Mack , Haojian Zhuang , Robert Jarzmik , Mark Brown Cc: linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org References: <1554736964-6058-1-git-send-email-f.suligoi@asem.it> From: Jarkko Nikula Message-ID: <51e9e073-625d-f5c0-6b2e-410f6ddb6346@linux.intel.com> Date: Tue, 9 Apr 2019 16:48:10 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <1554736964-6058-1-git-send-email-f.suligoi@asem.it> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi On 4/8/19 6:22 PM, Flavio Suligoi wrote: > 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; > Would this look better if moved before devm_spi_register_controller() call? -- Jarkko