summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMarco Felsch <m.felsch@pengutronix.de>2020-01-08 10:57:02 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-02-11 04:34:14 -0800
commit17d00207842387e8dd4ac559f2e7177f27771d79 (patch)
tree640746f0699947ecd98bdb88a19028fd3709b761 /drivers
parentd9e9451c8ff79fd92b0b83f935a1450503529bd1 (diff)
downloadlinux-stable-17d00207842387e8dd4ac559f2e7177f27771d79.tar.gz
linux-stable-17d00207842387e8dd4ac559f2e7177f27771d79.tar.bz2
linux-stable-17d00207842387e8dd4ac559f2e7177f27771d79.zip
mfd: da9062: Fix watchdog compatible string
commit 1112ba02ff1190ca9c15a912f9269e54b46d2d82 upstream. The watchdog driver compatible is "dlg,da9062-watchdog" and not "dlg,da9062-wdt". Therefore the mfd-core can't populate the of_node and fwnode. As result the watchdog driver can't parse the devicetree. Fixes: 9b40b030c4ad ("mfd: da9062: Supply core driver") Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Acked-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/da9062-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/da9062-core.c b/drivers/mfd/da9062-core.c
index 9f6105906c09..83c624f6033c 100644
--- a/drivers/mfd/da9062-core.c
+++ b/drivers/mfd/da9062-core.c
@@ -257,7 +257,7 @@ static const struct mfd_cell da9062_devs[] = {
.name = "da9062-watchdog",
.num_resources = ARRAY_SIZE(da9062_wdt_resources),
.resources = da9062_wdt_resources,
- .of_compatible = "dlg,da9062-wdt",
+ .of_compatible = "dlg,da9062-watchdog",
},
{
.name = "da9062-thermal",