diff options
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2013-06-11 10:41:47 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-11 23:18:04 (GMT) |
commit | d343f4e8d6e4e4237b25b32e4f6a09d1281d4ca3 (patch) | |
tree | 36cf79f5208e948d150bf7fc7c806c0bd9d9709c /drivers/mtd/bcm47xxpart.c | |
parent | 2d8f4447b58bba5f8cb895c07690434c02307eaf (diff) | |
download | linux-fsl-qoriq-d343f4e8d6e4e4237b25b32e4f6a09d1281d4ca3.tar.xz |
usb: chipidea: fix no transceiver case
Since usb phy code does return ERR_PTR() values, make sure that we don't
end up dereferencing them. This is a problem, for example, on platforms
that don't register a phy for chipidea since b7fa5c2a ("usb: phy: return
-ENXIO when PHY layer isn't enabled").
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mtd/bcm47xxpart.c')
0 files changed, 0 insertions, 0 deletions