diff options
author | Chunfeng Yun <chunfeng.yun@mediatek.com> | 2017-10-13 12:10:37 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-10-19 10:38:10 +0300 |
commit | c162ff0aaaac456ef29aebd1e9d4d3e305cd3279 (patch) | |
tree | 570bdd3edb305ce2fbdac4bd00c25f045ad3ad44 /drivers/usb/mtu3/mtu3_host.c | |
parent | 86763723eee87bfe561cdabae2dd1c2e97933bd8 (diff) | |
download | linux-c162ff0aaaac456ef29aebd1e9d4d3e305cd3279.tar.xz |
usb: mtu3: fix error return code in ssusb_gadget_init()
When failing to get IRQ number, platform_get_irq() may return
-EPROBE_DEFER, but we ignore it and always return -ENODEV,
so fix it.
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/mtu3/mtu3_host.c')
0 files changed, 0 insertions, 0 deletions