Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1469470

Re: Why do we need reset_control_get_optional() ?

Path csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod
From Philipp Zabel <p.zabel@pengutronix.de>
Newsgroups linux.kernel
Subject Re: Why do we need reset_control_get_optional() ?
Date Wed, 24 Aug 2016 16:00:01 +0200
Message-ID <s9GSJ-33R-15@gated-at.bofh.it> (permalink)
References <rY3i1-2br-15@gated-at.bofh.it> <s0ITM-79Q-9@gated-at.bofh.it> <s2J8Z-5cv-3@gated-at.bofh.it> <s2Po6-Va-19@gated-at.bofh.it> <s6Jap-1oP-9@gated-at.bofh.it>
X-Original-To Masahiro Yamada <yamada.masahiro@socionext.com>
Content-Type text/plain; charset="UTF-8"
X-Mailer Evolution 3.12.9-1+b1
MIME-Version 1.0
Content-Transfer-Encoding 7bit
X-Sa-Exim-Connect-IP 2001:67c:670:100:96de:80ff:fec2:9969
X-Sa-Exim-Mail-From p.zabel@pengutronix.de
X-Sa-Exim-Scanned No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false
X-Ptx-Original-Recipient linux-kernel@vger.kernel.org
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 25
Organization linux.* mail to news gateway
X-Original-Cc Arnd Bergmann <arnd@arndb.de>, Axel Lin <axel.lin@ingics.com>, Hans de Goede <hdegoede@redhat.com>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Maxime Ripard <maxime.ripard@free-electrons.com>, Lee Jones <lee.jones@linaro.org>, linux-arm-kernel <linux-arm-kernel@lists.infradead.org>
X-Original-Date Wed, 24 Aug 2016 15:29:42 +0200
X-Original-Message-ID <1472045382.5335.45.camel@pengutronix.de>
X-Original-References <CAK7LNAQnitMMp5wMXXvVeS-UFF=Fo9m=M1hL=5f4=RF8JYCnGg@mail.gmail.com> <3400649.NoVKUzu81R@wuerfel> <1470387358.3141.17.camel@pengutronix.de> <1793038.JVifRUCe28@wuerfel> <CAK7LNARCJ0HoyUj-urFxvn2BJMjs5M1YxxEjUCRPWB9XwvvRdA@mail.gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1469470

Show key headers only | View raw


Am Dienstag, den 16.08.2016, 18:41 +0900 schrieb Masahiro Yamada:
> Hi Arnd,
>
> 2016-08-06 0:35 GMT+09:00 Arnd Bergmann <arnd@arndb.de>:
> 
> >
> > config RESET_FOO
> >         bool "FOO reset controller" if COMPILE_TEST && !ARCH_FOO
> >         default ARCH_FOO
> >
> > then I think we get both: you won't be able to turn it off
> > but also get the build testing.
>
> This looks good to me, too.
> I do not know if we need "&& !ARCH_FOO", though.
> 
> When we are compile-testing, we do not care if it works on run-time,
> so perhaps it makes sense to allow to enable/disable RESET_FOO
> regardless ARCH_FOO.

I'll send a few patches to add the Kconfig symbols. Turning around the
RESET_CONTROLLER selection can be done in a second step.

regards
Philipp

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: Why do we need reset_control_get_optional() ? Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-08-16 11:50 +0200
  Re: Why do we need reset_control_get_optional() ? Philipp Zabel <p.zabel@pengutronix.de> - 2016-08-24 16:00 +0200

csiph-web