diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2015-01-20 22:56:05 (GMT) |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-01-27 15:39:51 (GMT) |
commit | d21daf1e90514cee8e3fb11c8e28acee3fb87edf (patch) | |
tree | a44d5731b4bf452d65a5710d9f87e97945ce2573 /fs/hfsplus | |
parent | 1f8d9b9b503070e5450f49e0a341ac3b43d9164d (diff) | |
download | linux-d21daf1e90514cee8e3fb11c8e28acee3fb87edf.tar.xz |
usb: isp1760: Fix USB disabled check
The isp1760 driver registration function returns an error if USB is
disabled. This made sense when the driver only supported host
controllers, but now that it supports peripheral controllers host
support isn't mandatory anymore.
Fix this by returning an error only when both the HCD and UDC functions
are disabled, either through the kernel configuration or at runtime.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'fs/hfsplus')
0 files changed, 0 insertions, 0 deletions