usb: gadget: aspeed_udc: fix missing spin_unlock_irqrestore in ast_udc_ep_queue
authorZheng Bin <zhengbin13@huawei.com>
Thu, 16 Jun 2022 13:35:08 +0000 (21:35 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Jun 2022 14:29:50 +0000 (16:29 +0200)
commit3d393f0303b5120aa8c98a8ee70535ea9604ef20
tree059d5d4842dfba72762e51c29c3a2d98993252a4
parent485394c63f47df18eb7498608d5fc9041c19ec13
usb: gadget: aspeed_udc: fix missing spin_unlock_irqrestore in ast_udc_ep_queue

ast_udc_ep_queue misses spin_unlock_irqrestore in an error path,
this patch fixes that.

Fixes: 055276c13205 ("usb: gadget: add Aspeed ast2600 udc driver")
Reviewed-by: Neal Liu <neal_liu@aspeedtech.com>
Signed-off-by: Zheng Bin <zhengbin13@huawei.com>
Link: https://lore.kernel.org/r/20220616133508.3655864-1-zhengbin13@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/aspeed_udc.c