From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3EF1EC282CB for ; Tue, 5 Feb 2019 16:26:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 14FBE20844 for ; Tue, 5 Feb 2019 16:26:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730497AbfBEQ0p (ORCPT ); Tue, 5 Feb 2019 11:26:45 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:40906 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727943AbfBEQ0o (ORCPT ); Tue, 5 Feb 2019 11:26:44 -0500 Received: from localhost (unknown [IPv6:2a01:e0a:2c:6930:b93f:9fae:b276:a89a]) (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 766D227FFA1; Tue, 5 Feb 2019 16:26:42 +0000 (GMT) Date: Tue, 5 Feb 2019 17:26:38 +0100 From: Boris Brezillon To: Cc: , , , , , , , , , , , , Subject: Re: [PATCH v5 13/13] spi: atmel-quadspi: add support for sam9x60 qspi controller Message-ID: <20190205172638.11a69968@collabora.com> In-Reply-To: <20190205154257.29529-14-tudor.ambarus@microchip.com> References: <20190205154257.29529-1-tudor.ambarus@microchip.com> <20190205154257.29529-14-tudor.ambarus@microchip.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 Tue, 5 Feb 2019 15:44:04 +0000 wrote: > @@ -450,28 +499,49 @@ static int atmel_qspi_probe(struct > platform_device *pdev) goto exit; > } > > + aq->caps = of_device_get_match_data(&pdev->dev); > + if (aq->caps && aq->caps->has_qspick) { Can we add a caps instance to the sama5d2 entry instead of allowing caps to be NULL? The rest looks good to me, feel free to add Reviewed-by: Boris Brezillon on your next version.