aboutsummaryrefslogtreecommitdiff
path: root/Documentation/hwmon/via686a
diff options
context:
space:
mode:
authorWill Newton <will.newton@gmail.com>2008-08-12 15:39:17 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-17 14:41:07 -0700
commit23d7cd040e1f43113da3e8763becf576ab86b39a (patch)
treed4f98257a6a379dfcf53d814aef79cdebe1cd340 /Documentation/hwmon/via686a
parent59097fb73cf60276053551308524f6c772f305a9 (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/via686a')
0 files changed, 0 insertions, 0 deletions