[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181218131501.GF2477@localhost.localdomain>
Date: Tue, 18 Dec 2018 15:15:01 +0200
From: Matti Vaittinen <matti.vaittinen@...rohmeurope.com>
To: Bartosz Golaszewski <brgl@...ev.pl>
Cc: mazziesaccount@...il.com, Mark Brown <broonie@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Rafael J . Wysocki" <rafael@...nel.org>, ldewangan@...dia.com,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] regmap: regmap-irq: Remove default irq type setting from
core
On Tue, Dec 18, 2018 at 02:08:41PM +0100, Bartosz Golaszewski wrote:
> wt., 18 gru 2018 o 11:58 Matti Vaittinen
> <matti.vaittinen@...rohmeurope.com> napisaĆ(a):
> >
> > The common code should not set IRQ type. Read HW defaults to the
> > cache at startup instead of forcing type to EDGE_BOTH. If
> > default setting is needed this should be done via normal
> > mechanisms or by chip specific code if normal mechanisms are not
> > suitable for some reason. Common regmap-irq code should not have
> > defaults hard-coded but keep the HW/boot defaults untouched.
> >
> > Signed-off-by: Matti Vaittinen <matti.vaittinen@...rohmeurope.com>
> > ---
> > I was not able to test this change as I have no max77620 which seems to
> > be the only user of regmap-irq type-setting in tree as of now.
> >
>
> Works with my work-in-progress max77650 driver that uses the new
> type_in_mask flag.
>
> Tested-by: Bartosz Golaszewski <bgolaszewski@...libre.com>
Thanks a bunch for testing Bartosz :) Highly appreciated!
--
Matti Vaittinen
ROHM Semiconductors
~~~ "I don't think so," said Rene Descartes. Just then, he vanished ~~~
Powered by blists - more mailing lists