commit | 87a2dfb136430c914f286e4b9870d538e559df29 | [log] [tgz] |
---|---|---|
author | Ye Bin <yebin10@huawei.com> | Mon Aug 24 16:42:34 2020 +0800 |
committer | Felipe Balbi <balbi@kernel.org> | Fri Oct 02 09:57:41 2020 +0300 |
tree | f829dd9df8279bcd285cbaac816b9cb427b207c0 | |
parent | 4eea21dc67b0c6ba15ae41b1defa113a680a858e [diff] |
usb: gadget: fsl: Fix unsigned expression compared with zero in fsl_udc_probe udc_controller->irq is "unsigned int" always >= 0, but platform_get_irq may return little than zero. So "dc_controller->irq < 0" condition is never accessible. Acked-by: Li Yang <leoyang.li@nxp.com> Signed-off-by: Ye Bin <yebin10@huawei.com> Signed-off-by: Felipe Balbi <balbi@kernel.org>