diff options
| author | Vivek Gautam <[email protected]> | 2013-04-09 18:42:11 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-04-09 16:38:04 -0700 |
| commit | bbcd85a0e624a6825e2b4477a5ad2a7873288809 (patch) | |
| tree | 16e2d24201c9d840d57c82d941eb31213f2fd883 /include | |
| parent | e5ab9f1863e59ebb267eebf08a714647484f55a5 (diff) | |
usb: ehci-s5p: fix: Fix null pointer dereferencing
7edb3da: (USB: EHCI: make ehci-s5p a separate driver)
raised an issue with ehci-s5p's driver data.
Now that 's5p_ehci_hcd' doesn't maintain pointer to 'usb_hcd'
and s5p_ehci is nothing but a pointer to hcd->priv;
add hcd to the driver data rather than s5p_ehci.
This fixes issues with null pointer dereferencing in
s5p_ehci_shutdown(), s5p_ehci_suspend(), s5p_ehci_resume().
Signed-off-by: Vivek Gautam <[email protected]>
CC: Manjunath Goudar <[email protected]>
CC: Arnd Bergmann <[email protected]>
CC: Jingoo Han <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions