Re: [PATCH -next v2] usb: gadget: remove leaked entry from udc driver list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Zhang Qilong <zhangqilong3@xxxxxxxxxx> writes:
> The usb_add_gadget_udc will add a new gadget to the udc class
> driver list. Not calling usb_del_gadget_udc in error branch
> will result in residual gadget entry in the udc driver list.
> We fix it by calling usb_del_gadget_udc to clean it when error
> return.
>
> Fixes:48ba02b2e2b1a ("usb: gadget: add udc driver for max3420")
> Signed-off-by: Zhang Qilong <zhangqilong3@xxxxxxxxxx>

Thank you,

Acked-by: Felipe Balbi <balbi@xxxxxxxxxx>

-- 
balbi



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux