[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-mips-cvs
Subject: MIPS: Loongson: Do not register 8250 platform device from module.
From: linux-mips () linux-mips ! org
Date: 2015-06-10 14:40:43
Message-ID: S27012059AbbFJOkpd6XvV/20150610144045Z+1328 () eddie ! linux-mips ! org
[Download RAW message or body]
Author: Ralf Baechle <ralf@linux-mips.org> Tue Jun 9 09:35:34 2015 +0200
Commit: 1f83357fd15603ca3198889708db14ed141ddde9
Gitweb: http://git.linux-mips.org/g/ralf/linux/1f83357fd156
Branch: linux-2.6.33-stable
If CONFIG_SERIAL_8250 is set to m, the Loongson seria.ko module might get
unloaded while the serial driver modules are still loaded resulting in
stale references to the destroyed platform_device instance.
Anyway, platform devices should always be registered indicated what
devices are present, _not_ what drivers have been configured.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Patchwork: https://patchwork.linux-mips.org/patch/10538/
(cherry picked from commit 03c472543ceda60342abb2c9a2263d23f04cadff)
---
arch/mips/loongson/common/Makefile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic