Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp6984935ybh; Thu, 8 Aug 2019 08:33:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqzUzOyifj+lo2z4hkOS0xOlVfM69yNqFTw5uKTh7UjMnOmAwzB0V2qgU64TrLxL3dtl8oNh X-Received: by 2002:a17:90a:23ce:: with SMTP id g72mr4676371pje.77.1565278424557; Thu, 08 Aug 2019 08:33:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565278424; cv=none; d=google.com; s=arc-20160816; b=g3aLM2ZfgsF1Ax0QYL6shKsQa+JAsXQxBYTlJzzCpKHlq8iO1HZhvhFBSx97TPlwYa op4H5E4ENy0scm8tQSNzA+L37C94fm1CSIC94gUAqrwHkn/wi//xCCKfS5MPJAKttYl/ bni9mGHQwRNkpNJjybXueQQ/+/ywYqq7MaYi7KU1SNAAXk8OZ/28VTM0i9Q9jfIOh9Ir COkSSAY/7AJaKKknL8wLKqBChqph1/F6AHbAJhuiajtB0kPxCAOMlj5G2lxNs/vvZzDO WPOUvc2R4Soip7aO8yXO/tKX9grjt5Wr3t4H5wLhiWf1BjJ/+JulmGvJzC/OlzHh7k7Y eoYA== 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:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=PQEzbUbiqGB5MPoEDQC64IwCcyF1b313KPc23YWuZ74=; b=075Fs1TM3Uyff9uMzu8/3TrGyf1B0d/LZ/ikMH+euSCL5v6h9tVkyU5b3KD73TJeGD vEvtFoR/j6ghSA+SvSQ2Jb7a5QAl6PIeayWuJOpk01jzqVvHEum9Q258E3cnVSwiz51a 64lwVu/IyfnIN4OghOaYDHLu4/LW5LUj6nKvIEIFMh6UB01CVz3X4SzS2hjTl0e1so7N mrKMOSHAlWDUtDgliozg6W13XltOhWOHxv9M5xRrUKSR8UclqnJmZAbrNrFFsmZvjWko /ehuEq+lcs2HYUrtCbndjV2GQemkCbl5KeeahPvO2U5T5cEoIccTg50MXImScwhYZvEB Cz1A== 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=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r3si47157862plb.14.2019.08.08.08.33.27; Thu, 08 Aug 2019 08:33:44 -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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733153AbfHHPch (ORCPT + 99 others); Thu, 8 Aug 2019 11:32:37 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:40508 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725535AbfHHPch (ORCPT ); Thu, 8 Aug 2019 11:32:37 -0400 Received: from localhost (unknown [IPv6:2a01:e0a:2c:6930:5cf4:84a1:2763:fe0d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: bbrezillon) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id D319028CAE4; Thu, 8 Aug 2019 16:32:35 +0100 (BST) Date: Thu, 8 Aug 2019 17:32:32 +0200 From: Boris Brezillon To: Tomer Maimon Cc: broonie@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, vigneshr@ti.com, bbrezillon@kernel.org, avifishman70@gmail.com, tali.perry1@gmail.com, venture@google.com, yuenn@google.com, benjaminfair@google.com, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/2] spi: npcm-fiu: add NPCM FIU controller driver Message-ID: <20190808173232.4d79d698@collabora.com> In-Reply-To: <20190808131448.349161-3-tmaimon77@gmail.com> References: <20190808131448.349161-1-tmaimon77@gmail.com> <20190808131448.349161-3-tmaimon77@gmail.com> Organization: Collabora X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 8 Aug 2019 16:14:48 +0300 Tomer Maimon wrote: > + > +static const struct spi_controller_mem_ops npcm_fiu_mem_ops = { > + .exec_op = npcm_fiu_exec_op, No npcm_supports_op()? That's suspicious, especially after looking at the npcm_fiu_exec_op() (and the functions called from there) where the requested ->buswidth seems to be completely ignored... > + .dirmap_create = npcm_fiu_dirmap_create, > + .dirmap_read = npcm_fiu_direct_read, > + .dirmap_write = npcm_fiu_direct_write, > +}; > +