mfd: mt6397: Fix probe after changing mt6397-core
authorFrank Wunderlich <frank-w@public-files.de>
Thu, 3 Oct 2019 18:53:23 +0000 (20:53 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 11 Nov 2019 08:45:02 +0000 (08:45 +0000)
commit11c4f2be58c24a43e60f1379e6f23ba027b740e3
treebfa66c2e593200ceadcf07a008b40952d498483c
parent5da3f7673764906ce211497c8034ed764077f183
mfd: mt6397: Fix probe after changing mt6397-core

Part 3 from this series [1] was not merged due to wrong splitting
and breaks mt6323 pmic on bananapi-r2

dmesg prints this line and at least switch is not initialized on bananapi-r2

mt6397 1000d000.pwrap:mt6323: unsupported chip: 0x0

this patch contains only the probe-changes and chip_data structs
from original part 3 by Hsin-Hsiung Wang

[1] https://patchwork.kernel.org/project/linux-mediatek/list/?series=164155

Fixes: a4872e80ce7d ("mfd: mt6397: Extract IRQ related code from core driver")
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/mt6397-core.c