]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Thu, 24 Oct 2019 07:49:25 +0000 (08:49 +0100)
commitd8202180554265d5b6716a53f52753e706f8f8af
tree3ed16f6c26fdf6d5b44fc240a332a886b3a73ed1
parent83b4b06b7408ce798a220098fbeac6cb0a1db352
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: c9eeda10c6c0 ("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