usb: gadget: f_ecm/f_ncm: check quirk instead of UDC name
authorRobert Baldyga <r.baldyga@samsung.com>
Tue, 28 Jul 2015 05:20:02 +0000 (07:20 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 30 Jul 2015 16:43:36 +0000 (11:43 -0500)
commit7a896d40525349e7d52307fb957882696e09466c
tree4f6fe25e55bc3d7785b22d9b7a5aa19b428ed8d5
parenta4cc42157f3f8c3dd5562b91c7430376912c6fb8
usb: gadget: f_ecm/f_ncm: check quirk instead of UDC name

Use generic mechanism to check if UDC controller supports zlp.

Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/f_ecm.c
drivers/usb/gadget/function/f_ncm.c