public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Maxime Ripard <maxime.ripard@free-electrons.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: linux-arm-kernel@lists.infradead.org,
	andriy.shevchenko@intel.com, Vinod Koul <vinod.koul@intel.com>,
	linux-kernel@vger.kernel.org, zhuzhenhua@allwinnertech.com,
	shuge@allwinnertech.com, linux-sunxi@googlegroups.com,
	kevin.z.m.zh@gmail.com, sunny@allwinnertech.com,
	dmaengine@vger.kernel.org,
	Dan Williams <dan.j.williams@intel.com>
Subject: Re: [PATCH v8 0/2] Add support for the Allwinner A31 DMA Controller
Date: Thu, 22 May 2014 13:58:05 +0200	[thread overview]
Message-ID: <20140522115805.GC27329@lukather> (raw)
In-Reply-To: <5291281.0OW8pVdbhQ@wuerfel>

[-- Attachment #1: Type: text/plain, Size: 1256 bytes --]

On Wed, May 21, 2014 at 06:04:43PM +0200, Arnd Bergmann wrote:
> On Wednesday 21 May 2014 17:55:51 Maxime Ripard wrote:
> > On Wed, May 21, 2014 at 05:23:41PM +0200, Arnd Bergmann wrote:
> > > On Wednesday 21 May 2014 17:15:54 Maxime Ripard wrote:
> > > > Changes from v7:
> > > >   - select DMA_OF, since we're only relying on DT
> > > > 
> > > 
> > > I missed the discussion about this issue, but it seems wrong to me.
> > > DMA_OF is currently enabled if we have both DMAENGINE and OF turned on.
> > > 
> > > If OF is disabled but DMA_OF gets selected by DMA_SUN6I, what happens?
> > 
> > Is that even possible with a multiplatform-based platform?
> 
> It's not possible for ARCH_SUNXI or any other that depends on
> ARCH_MULTIPLATFORM. I just noticed that you have 'depends on ARCH_SUNXI',
> so the 'select DMA_OF' statement is just redundant, not wrong.
> 
> However, if the driver was 'depends on ARCH_SUNXI || COMPILE_TEST' as many
> others are nowadays, it would be a bug.

Ah, yes, I forgot about COMPILE_TEST.

I'll change this to remove the select, and add a dependency on
COMPILE_TEST.

Thanks,
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

      reply	other threads:[~2014-05-22 12:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-21 15:15 [PATCH v8 0/2] Add support for the Allwinner A31 DMA Controller Maxime Ripard
2014-05-21 15:15 ` [PATCH v8 1/2] Documentation: dt: Add Allwinner A31 DMA controller bindings Maxime Ripard
2014-05-21 15:15 ` [PATCH v8 2/2] dmaengine: sun6i: Add driver for the Allwinner A31 DMA controller Maxime Ripard
2014-05-21 15:23 ` [PATCH v8 0/2] Add support for the Allwinner A31 DMA Controller Arnd Bergmann
2014-05-21 15:55   ` Maxime Ripard
2014-05-21 16:04     ` Arnd Bergmann
2014-05-22 11:58       ` Maxime Ripard [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140522115805.GC27329@lukather \
    --to=maxime.ripard@free-electrons.com \
    --cc=andriy.shevchenko@intel.com \
    --cc=arnd@arndb.de \
    --cc=dan.j.williams@intel.com \
    --cc=dmaengine@vger.kernel.org \
    --cc=kevin.z.m.zh@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@googlegroups.com \
    --cc=shuge@allwinnertech.com \
    --cc=sunny@allwinnertech.com \
    --cc=vinod.koul@intel.com \
    --cc=zhuzhenhua@allwinnertech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox