On Monday 08 February 2016 11:43:13 Sascha Hauer wrote:
> When a device probe fails the device is removed from the active list.
> If then the device is unregistered afterwards it is removed from the
> active list again resulting in a crash. To fix this initialize the
> devices active list entry
When a device probe fails the device is removed from the active list.
If then the device is unregistered afterwards it is removed from the
active list again resulting in a crash. To fix this initialize the
devices active list entry when removing it from the active list.
Signed-off-by: Sascha
Signed-off-by: Marc Kleine-Budde
---
drivers/hab/habv3.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/hab/habv3.c b/drivers/hab/habv3.c
index 204b9095b393..82ae245f8a03 100644
--- a/drivers/hab/habv3.c
+++ b/drivers/hab/habv3.c
@@ -20,6 +20,7 @@ struct
Signed-off-by: Marc Kleine-Budde
---
drivers/hab/habv3.c | 44 ++--
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/drivers/hab/habv3.c b/drivers/hab/habv3.c
index 70f31a3c4d98..204b9095b393 100644
---
On Mon, Feb 08, 2016 at 12:33:32PM +0100, Juergen Borleis wrote:
> On Monday 08 February 2016 11:43:13 Sascha Hauer wrote:
> > When a device probe fails the device is removed from the active list.
> > If then the device is unregistered afterwards it is removed from the
> > active list again