diff options
author | Will Newton <will.newton@gmail.com> | 2008-08-12 15:39:17 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-10-17 14:41:07 -0700 |
commit | 23d7cd040e1f43113da3e8763becf576ab86b39a (patch) | |
tree | d4f98257a6a379dfcf53d814aef79cdebe1cd340 /Documentation/hwmon/lm90 | |
parent | 59097fb73cf60276053551308524f6c772f305a9 (diff) |
fsl_usb2_udc: Fix oops on probe failure.
In some circumstances when fsl_udc_probe fails udc_controller is freed but
the pointer remains non-NULL. fsl_udc_remove will then try and teardown
the partly initialized and freed controller structure resulting in an oops.
This patch ensures udc_controller is either NULL or fully initialized after
fsl_udc_probe.
Signed-off-by: Will Newton <will.newton@gmail.com>
Acked-by: Li Yang <leoli@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/hwmon/lm90')
0 files changed, 0 insertions, 0 deletions