Re: [PATCH] driver: Fix unregister device after device probe failure

2016-02-08 Thread Juergen Borleis
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

[PATCH] driver: Fix unregister device after device probe failure

2016-02-08 Thread Sascha Hauer
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

[PATCH 2/2] i.MX habv3: add some more status codes

2016-02-08 Thread Marc Kleine-Budde
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

[PATCH 1/2] i.MX habv3: sort hab status codes numerically

2016-02-08 Thread Marc Kleine-Budde
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 ---

Re: [PATCH] driver: Fix unregister device after device probe failure

2016-02-08 Thread Robert Schwebel
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