From patchwork Tue Jun 6 22:19:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 9770105 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EFF4E6035D for ; Tue, 6 Jun 2017 22:19:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D4D0A2846B for ; Tue, 6 Jun 2017 22:19:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C89AB284E4; Tue, 6 Jun 2017 22:19:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0DFC62846B for ; Tue, 6 Jun 2017 22:19:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751463AbdFFWTW (ORCPT ); Tue, 6 Jun 2017 18:19:22 -0400 Received: from mail-ot0-f169.google.com ([74.125.82.169]:35619 "EHLO mail-ot0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751399AbdFFWTV (ORCPT ); Tue, 6 Jun 2017 18:19:21 -0400 Received: by mail-ot0-f169.google.com with SMTP id a2so23472737oth.2 for ; Tue, 06 Jun 2017 15:19:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=6yBQ3Hp3K18/1KCyPh2FkTVOKEm9k8GE0n+tPbSfW6U=; b=HZmaTisWlTTKJpssmpsQDF4oZuSmeqIEbQEMpsxy3AFgR+7GgkmrrePiXPMu3uHMTl nyxxdppjIjYfZVvmwpJRZ5LYMByrtTUxXE5VNsd1AJibHjuj5quCjwKTHB6MWj9j2Lfs fPECaWz39sK2QXxKnTrXbACm2rB7zkWocTSS+oEyrshzANz1pNrGiGZLBCFDl3gaz/8K XqCCD1NFqKIwqI6jWw4Ml30qmrFFGrszRI6/zsrfl/UqF8DoN+AhWOh5s/TM70tJMTxD gmefs/6GQUn17i12b8J7Rrtdsj52IYfzSD1zhe+laFFEEXZA2sAstawkmB5lfAqPU3wM 9/Fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=6yBQ3Hp3K18/1KCyPh2FkTVOKEm9k8GE0n+tPbSfW6U=; b=MWO4tsxr+3MQHsRyVIE9NV2LGpICvEbz2iCI5XFDqvSv+JSTODe1a9bR7ASlOgbKml mXNs5wB5PNLA9x2A68Ez6NnwsoTH3H3xBq0tJdwwIQGIZsbXVq+awHiodnWTQL5NSS01 xJNzKB7tz/+RQKNTfR1KZBmuy9qovm++555M2R+oT+bQHiUwbFfNs6H/U39s8yJtrxvn Dett91Jc8IEz7dIZCtvQLUu2KP3k5BueW/YdfGk2ojpPIG2N5lBVryzMk1XYitI3k1k+ hH6R0mvIvkC+ll3hoxSsTi7rdumS+hyRx2Zbcn4R5gAYneppQEq69XjnD/jB1lFapTml 1qgA== X-Gm-Message-State: AODbwcDqe7BQXwxjZj3nc3Vgym0ObIUPPLl8lBS2x5zqTujUCxiTKhBr fnQz28iSTcaIHXTf4yXUqomRLisPtA== X-Received: by 10.157.52.98 with SMTP id v89mr14176380otb.160.1496787560320; Tue, 06 Jun 2017 15:19:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.44.5 with HTTP; Tue, 6 Jun 2017 15:19:19 -0700 (PDT) In-Reply-To: <96dbef3a24442935ffdc302499b223cf@agner.ch> References: <1496768353-25141-1-git-send-email-fabio.estevam@nxp.com> <96dbef3a24442935ffdc302499b223cf@agner.ch> From: Fabio Estevam Date: Tue, 6 Jun 2017 19:19:19 -0300 Message-ID: Subject: Re: [PATCH] dmaengine: Kconfig: Extend the dependency for MXS_DMA To: Stefan Agner Cc: Fabio Estevam , Vinod Koul , han.xu@nxp.com, dmaengine@vger.kernel.org Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Tue, Jun 6, 2017 at 5:32 PM, Stefan Agner wrote: > FWIW, I would prefer the HAVE_MXS_DMA solution, this also makes it less > likely that new SoC forget to add MXS_DMA support since it will be > inside arch/arm/mach-imx/Kconfig. I think that a cleaner solution would be to do like this: What do you think? --- To unsubscribe from this list: send the line "unsubscribe dmaengine" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -371,7 +371,7 @@ config MV_XOR_V2 config MXS_DMA bool "MXS DMA support" - depends on SOC_IMX23 || SOC_IMX28 || SOC_IMX6Q || SOC_IMX6UL + depends on ARCH_MXS || ARCH_MXC select STMP_DEVICE select DMA_ENGINE help