regmap: regmap-irq: Remove default irq type setting from core
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Tue, 18 Dec 2018 10:58:13 +0000 (12:58 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 19 Dec 2018 17:52:54 +0000 (17:52 +0000)
commit84267d1b18abee0c141553396f52a23db71660d3
treea5ae2d4da746a5fcf1b37c93e2cecb8046d13453
parentbc998a730367a69a1449320d321187d7414668fa
regmap: regmap-irq: Remove default irq type setting from core

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@fi.rohmeurope.com>
Tested-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regmap-irq.c