Received: by 10.192.165.148 with SMTP id m20csp455140imm; Wed, 25 Apr 2018 02:15:44 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo02E4Ezloa+zmVhMT6bEXwOG4sYMr2QkHj3/KOSzB8L4SBOd4zpU6hyOUN9hyXhryh2/zK X-Received: by 2002:a17:902:b591:: with SMTP id a17-v6mr2125194pls.211.1524647744560; Wed, 25 Apr 2018 02:15:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524647744; cv=none; d=google.com; s=arc-20160816; b=xElHm6Jk367UR6XMMvQ2jLW3SSU9RC+0s42Ujq9zYHn+qQ3tgzR1jf3YX4tOxvEr9/ Xbzv9ularO9GFQW70u1xHxj5Ff47zJXjVciV3os1dcvXS2PKbKl+irpe3Jxdh6NoA0hN ma60dZZEHEM3Ji2IZYkbNmjBz9fbvLj7k7m/6qGh7aOxpRY/CC8FzhKjYL3BOLWlWnne eg+Q+EJ/kbO4hKFd60h7jDVJbHCu+MUTIti6g5lgHBKFwpoFEw3cUKD3moCgHjYOOXsI Sw453dI1C0Biy01AiJTeQfiiXTYuQz4fup6SQ0NZmiIHM+7wssGtWvmQ2zq/zJTIht1a WuGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=EiGx6+DQsKiDnTZC0wCPeCqWhWLK9Mij4IJzeXt51lc=; b=F5HO5wUg5Pi8hcbK1LRb3enxBiWrCZqpxykJy8TNViEkCLf1Tyg0/uX7iYahUh6j35 0HK5vmyvuV6PQOVRz4/oXsg3ox5zoP0iBxNX94c8C0x7zeDh2Jd66ZMVO8lkn3JevT2X k9DnPiiy3b7YAk0xHkmIT/yo2rBrtarJ8fWwBFcXgVoeUuTEgB2kWZcYkOSmeJQ/4kcf riZ0bfBvgVS3qfgBAbJ8ZrdogtEwFAt8YFtrvrghDKXVnw9XFOPsJbCLMwN/SYu/MwjR OPaTMHtkiOlXrNM8nyDvGEnphSPjFrHF/TPqvlhSC/mfDc6rvB8/rOtTyw6PZxRtud/Y mPQA== 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 132si12876858pgb.470.2018.04.25.02.15.29; Wed, 25 Apr 2018 02:15: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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751683AbeDYJO1 (ORCPT + 99 others); Wed, 25 Apr 2018 05:14:27 -0400 Received: from mga07.intel.com ([134.134.136.100]:29925 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751274AbeDYJOY (ORCPT ); Wed, 25 Apr 2018 05:14:24 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Apr 2018 02:14:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,325,1520924400"; d="scan'208";a="36889730" Received: from vkoul-udesk7.iind.intel.com (HELO localhost) ([10.223.84.143]) by orsmga006.jf.intel.com with ESMTP; 25 Apr 2018 02:14:16 -0700 Date: Wed, 25 Apr 2018 14:48:58 +0530 From: Vinod Koul To: Geert Uytterhoeven Cc: Simon Horman , Magnus Damm , Russell King , Catalin Marinas , Will Deacon , Dan Williams , Mauro Carvalho Chehab , Sergei Shtylyov , "David S . Miller" , Greg Kroah-Hartman , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Arnd Bergmann , Kuninori Morimoto , Laurent Pinchart , linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org, linux-media@vger.kernel.org, netdev@vger.kernel.org, devel@driverdev.osuosl.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/8] dmaengine: shdmac: Change platform check to CONFIG_ARCH_RENESAS Message-ID: <20180425091858.GN6014@localhost> References: <1524230914-10175-1-git-send-email-geert+renesas@glider.be> <1524230914-10175-3-git-send-email-geert+renesas@glider.be> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1524230914-10175-3-git-send-email-geert+renesas@glider.be> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 20, 2018 at 03:28:28PM +0200, Geert Uytterhoeven wrote: > Since commit 9b5ba0df4ea4f940 ("ARM: shmobile: Introduce ARCH_RENESAS") > is CONFIG_ARCH_RENESAS a more appropriate platform check than the legacy > CONFIG_ARCH_SHMOBILE, hence use the former. > > Renesas SuperH SH-Mobile SoCs are still covered by the CONFIG_CPU_SH4 > check, just like before support for Renesas ARM SoCs was added. > > Instead of blindly changing all the #ifdefs, switch the main code block > in sh_dmae_probe() to IS_ENABLED(), as this allows to remove all the > remaining #ifdefs. > > This will allow to drop ARCH_SHMOBILE on ARM in the near future. Applied, thanks -- ~Vinod