diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-01-23 09:35:14 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-22 09:18:01 +0100 |
commit | 30fe81cca111c22bc6048ef8998691c8e51b0d7a (patch) | |
tree | 72fd61cc2d5da3318f2a385f99c5088d039531a2 /drivers/fpga/fpga-mgr.c | |
parent | 9f4a71db144905a41c795e5a67236e36cb20bb16 (diff) |
USB: gadget: udc: Add missing platform_device_put() on error in bdc_pci_probe()
commit 8874ae5f15f3feef3b4a415b9aed51edcf449aa1 upstream.
Add the missing platform_device_put() before return from bdc_pci_probe()
in the platform_device_add_resources() error handling case.
Fixes: efed421a94e6 ("usb: gadget: Add UDC driver for Broadcom USB3.0 device controller IP BDC")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions