diff options
author | Ajay Kumar Gupta <ajay.gupta@ti.com> | 2010-03-18 11:28:35 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-04-22 22:18:21 (GMT) |
commit | 18f91196b6e7994bd694a96a6c3b0ac1f3e81d82 (patch) | |
tree | 67427edb4565bdb7f6138d98349e6fb6a2c34c04 /drivers/usb/wusbcore | |
parent | 4c1f5c88aaffacb2831353b6d3c1557be52071a2 (diff) | |
download | linux-18f91196b6e7994bd694a96a6c3b0ac1f3e81d82.tar.xz |
USB: ehci: omap: fix kernel panic with rmmod
Sets the regulator values to NULL if they are not defined. This
is required to fix the kernel panic in exit path when EHCI module
is removed on the platforms where EHCI regulator are not set.
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/wusbcore')
0 files changed, 0 insertions, 0 deletions