* [PATCH] watchdog: bcm2835_wdt: Fix module autoload
@ 2019-08-28 16:40 Stefan Wahren
2019-08-29 21:53 ` Sasha Levin
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Wahren @ 2019-08-28 16:40 UTC (permalink / raw)
To: stable; +Cc: Wim Van Sebroeck, Guenter Roeck, Eric Anholt, Stefan Wahren
commit 215e06f0d18d5d653d6ea269e4dfc684854d48bf upstream.
The commit 5e6acc3e678e ("bcm2835-pm: Move bcm2835-watchdog's DT probe
to an MFD.") broke module autoloading on Raspberry Pi. So add a
module alias this fix this.
Fixes: 5e6acc3e678e ("bcm2835-pm: Move bcm2835-watchdog's DT probe to an MFD.")
Cc: <stable@vger.kernel.org>
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
---
drivers/watchdog/bcm2835_wdt.c | 1 +
1 file changed, 1 insertion(+)
Hi Greg,
please apply to the Linux 5.2 stable branch, because without this patch
the Raspberry Pi might not be able to reboot.
Regards
Stefan
diff --git a/drivers/watchdog/bcm2835_wdt.c b/drivers/watchdog/bcm2835_wdt.c
index 560c1c5..f4937a9 100644
--- a/drivers/watchdog/bcm2835_wdt.c
+++ b/drivers/watchdog/bcm2835_wdt.c
@@ -240,6 +240,7 @@ module_param(nowayout, bool, 0);
MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started (default="
__MODULE_STRING(WATCHDOG_NOWAYOUT) ")");
+MODULE_ALIAS("platform:bcm2835-wdt");
MODULE_AUTHOR("Lubomir Rintel <lkundrak@v3.sk>");
MODULE_DESCRIPTION("Driver for Broadcom BCM2835 watchdog timer");
MODULE_LICENSE("GPL");
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] watchdog: bcm2835_wdt: Fix module autoload
2019-08-28 16:40 [PATCH] watchdog: bcm2835_wdt: Fix module autoload Stefan Wahren
@ 2019-08-29 21:53 ` Sasha Levin
0 siblings, 0 replies; 2+ messages in thread
From: Sasha Levin @ 2019-08-29 21:53 UTC (permalink / raw)
To: Stefan Wahren; +Cc: stable, Wim Van Sebroeck, Guenter Roeck, Eric Anholt
On Wed, Aug 28, 2019 at 06:40:14PM +0200, Stefan Wahren wrote:
>commit 215e06f0d18d5d653d6ea269e4dfc684854d48bf upstream.
>
>The commit 5e6acc3e678e ("bcm2835-pm: Move bcm2835-watchdog's DT probe
>to an MFD.") broke module autoloading on Raspberry Pi. So add a
>module alias this fix this.
>
>Fixes: 5e6acc3e678e ("bcm2835-pm: Move bcm2835-watchdog's DT probe to an MFD.")
>Cc: <stable@vger.kernel.org>
>Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
>Reviewed-by: Guenter Roeck <linux@roeck-us.net>
>Signed-off-by: Guenter Roeck <linux@roeck-us.net>
>Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
>---
> drivers/watchdog/bcm2835_wdt.c | 1 +
> 1 file changed, 1 insertion(+)
>
>Hi Greg,
>please apply to the Linux 5.2 stable branch, because without this patch
>the Raspberry Pi might not be able to reboot.
I've queued it for all stable trees, thanks!
--
Thanks,
Sasha
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-29 21:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-28 16:40 [PATCH] watchdog: bcm2835_wdt: Fix module autoload Stefan Wahren
2019-08-29 21:53 ` Sasha Levin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).